robert_gsfame Posted April 6, 2010 Share Posted April 6, 2010 I have created this function once button onclick, it works fine in FF but not in IE 6.0 as i have to refresh the page first <script type="text/javascript"> function redirection(){ window.location("test2.php") );} </script> html code : <input type="button" value="button" onclick="redirection()" thx in advance Quote Link to comment Share on other sites More sharing options...
xenophobia Posted April 6, 2010 Share Posted April 6, 2010 window.location = 'test2.php'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.