BigRed1212
Technical User
Hi,
I'm looking to translate:
window.onload=function(){
document.getElementById("states").selectedIndex =
document.getElementById("states").getAttribute("default");
}
to jQuery.
I've tried a number of combinations like:
$(document).ready(function(){
$("#states").selectedindex= ("default");
});
with no joy. I am just guessing at this point.
Any insight (accompanying explanations and tutoring warmly welcomed)?