Open GoogleCodeExporter opened 8 years ago
I have noticed the same issue. I have attempted to work around it by
triggering triggerSelected after calling the .val('abc') but it does not seem
to help. I am about to dig into the code to see if there is any other method
that may be of some use.
Original comment by sberr...@gmail.com
on 27 Aug 2010 at 5:40
Ok, so I just took a quick look at the source and this works.
$('#select_id').val('abc');
$('#select_id').ufd('setInputFromMaster');
Original comment by sberr...@gmail.com
on 27 Aug 2010 at 5:46
Yes it seems that this way of setting it does not fire a change event, so the
plugin doesn't know.
sberry2a has offered a reasonable solution, but an even cleaner one would be:
$('#select_id').val('abc').trigger("change");
Not yet sure of how I can be notified, polling this may be expensive.
Original comment by thetoolman
on 15 Sep 2010 at 11:32
Yes but this seems ok for me to use
$('#select_id').val('abc').ufd('setInputFromMaster');
Original comment by s.so...@gmail.com
on 11 Nov 2010 at 3:13
same here using v0.6
the .ufd('setInputFromMaster') seems to work
Original comment by luigi.ba...@gmail.com
on 18 Mar 2011 at 5:51
$('#select_id').val('abc').ufd('setInputFromMaster');
its not working in ie9. anyone facing the same problem? got solutions?
Original comment by threep...@gmail.com
on 2 Jun 2011 at 2:28
$('#select_id').val('abc').ufd('setInputFromMaster'); problem not working in
ie9 is now solved. i just add this(below code) at the head section so that it
will behave like ie8:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
Original comment by threep...@gmail.com
on 15 Jun 2011 at 7:50
Original issue reported on code.google.com by
ravi.gid...@gmail.com
on 21 May 2010 at 4:22