Im trying to make a option redirect but i can't get it to work
this is my code
and this
Its has the \ before the " because its in a echo.
this is my code
| Code: |
| <SCRIPT LANGUAGE="JavaScript">
<!-- function redirect(url){ window.location="+url+"; } // --> </script> |
and this
| Code: |
| <select name='select'>
<option onclick=\"redirect('http://www.google.co.uk'); return true\">Points</option> <option onclick=\"redirect('http://www.google.co.uk'); return true\">VIP</option> <option onclick=\"redirect('http://www.google.co.uk'); return true\">Bank</option> <option onclick=\"redirect('http://www.google.co.uk'); return true\">Lottery</option> <option onclick=\"redirect('http://www.google.co.uk'); return true\">Bold Username</option> </select> |
Its has the \ before the " because its in a echo.
