I need Javascript help
I don't know anything about Javascript. I'm going to learn, but for now I need someone to help me. I can teach myself a fair amount from this one example after someone does it for me. Thank you.
This line from a form calls the function. I need the contents of the function moved inside the onChange statement. It must be moved there for this to work.
<select name="CountrySelect" onChange="MM_jumpMenu('parent', this, 0)">
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
|