I think that when I have selected a value in a dropdown, the value is chosen.
Any thoughts?
Thanks,
Try something like this: < Pre> Consuming HTML in this way: $ (document) .ready (function () {$ ('# your_select'). Change (function () {var result = $ (this) .val (); do_something_with (results);}); });
& lt; Select ID = "your_select" name = "selectname" & gt; & Lt; Option value = "foo" & gt; Foo! & Lt; / Options & gt; & Lt; Option value = "bar" & gt; times! & Lt; / Options & gt; & Lt; / Select & gt;
Comments
Post a Comment