trap click even on dropdown
Posted: 2016-07-12 17:30
What's the correct jquery to trap the change/click event of an AppGini-created dropdown?
I have a field 'method' that uses an option list of 'Box;;Truck;;Trailer'. I want to hide/show fields based on the current value of the dropdown.
That doesn't trigger the alert dialog when method is changed.
I have a field 'method' that uses an option list of 'Box;;Truck;;Trailer'. I want to hide/show fields based on the current value of the dropdown.
Code: Select all
$j('#method').click(function(){
//show/hide code here
alert('You clicked a method');
});