Version 0.8 of jQuery-utils
I wanted to use delayedObserver to fire on a select input type.
<select id="states" name="states">
<option>Maryland</option>
<option>Michigan</option>
<option>Mississippi</option>
</select>
I setup a delayedObserver on #states
$("#states").delayedObserver(function(){window.alert("Changed select to: " +
this.val());},0.5,{event: 'change'}};
This does not change the options.event value in the delayedObserver plugin, and
always defaults
to 'keyup'.
I solved this by changing the variable name "options" to "observer_options" on
lines 1903 and
1906 of the master jquery.utils.js file.
Original issue reported on code.google.com by mjkono...@gmail.com on 5 Jun 2009 at 9:18
Original issue reported on code.google.com by
mjkono...@gmail.com
on 5 Jun 2009 at 9:18