thebigdog wrote:
wow...tons more code than

myselect.selectedIndex = 3; // way simple


Don't try to break out the brevity card when you're arguing against jQuery. Try this instead:

$("#sample").val(3);

vs.

var myselect=document.getElementById("sample");
myselect.selectedIndex = 3;


--
justin
http://justinhileman.com


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to