robert_gsfame Posted November 9, 2009 Share Posted November 9, 2009 Below is my code: echo "<input type='button' value='redirect' onClick='location.href=index.htm'>"; what is wrong with the code?? it's not working Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 9, 2009 Share Posted November 9, 2009 should be echo "<input type='button' value='redirect' onClick=\"location.href='index.htm'\">"; Quote Link to comment Share on other sites More sharing options...
robert_gsfame Posted November 9, 2009 Author Share Posted November 9, 2009 thank you so much !!! it works 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.