Jump to content

redirect


alvaromatos
 Share

Recommended Posts

Thank you very muchAnd image thisI've a page that have a inline frame named "inside" and I need that a combox show me pages in the inline frame (inside). I've tryed to put the way but does not work can anyone tell where is the problem???:<script language= "JavaScript" type= "text/javascript"><!--function redirect(selectObject){ var choice = selectObject.selectedIndex; window.location = selectObject.options[choice].value;}// --></script><base target="_inside"></head><body><select size="1" name="sites" id="sites" onChange="redirect(this)"><option selected>Others sites</option><option value="http://www.yahoo.com">BPN</option></select>THANK YOU

Link to comment
Share on other sites

Thank you very muchAnd see thisI've a page that have a inline frame named "inside" and I need that a combox show me pages in the inline frame (inside). I've tryed to put the way but does not work can anyone tell where is the problem???:<script language= "JavaScript" type= "text/javascript"><!--function redirect(selectObject){ var choice = selectObject.selectedIndex; window.location = selectObject.options[choice].value;}// --></script><base target="_inside"></head><body><select size="1" name="sites" id="sites" onChange="redirect(this)"><option selected>Others sites</option><option value="http://www.yahoo.com">BPN</option></select>THANK YOU

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...