stockton Posted July 2, 2007 Share Posted July 2, 2007 I have the following code in my intranet page and the button when clicked in Firefox works fine but it appears that IE just ignores it. What have I done wrong? <a href="Administration.php"><BUTTON TYPE="submit">Back</BUTTON></a> Quote Link to comment https://forums.phpfreaks.com/topic/58090-solved-ie-not-recognising-my-buttons/ Share on other sites More sharing options...
ToonMariner Posted July 2, 2007 Share Posted July 2, 2007 you don't have a button inside a anchor have one or the other Quote Link to comment https://forums.phpfreaks.com/topic/58090-solved-ie-not-recognising-my-buttons/#findComment-288067 Share on other sites More sharing options...
ardyandkari Posted July 3, 2007 Share Posted July 3, 2007 just make a gif of a button and use it like this: Â <a href="Administration.php"><img src="submit.gif"></a> Quote Link to comment https://forums.phpfreaks.com/topic/58090-solved-ie-not-recognising-my-buttons/#findComment-289174 Share on other sites More sharing options...
stockton Posted July 4, 2007 Author Share Posted July 4, 2007 Thank you. That is exactly what I am busy with. Quote Link to comment https://forums.phpfreaks.com/topic/58090-solved-ie-not-recognising-my-buttons/#findComment-289380 Share on other sites More sharing options...
ToonMariner Posted July 4, 2007 Share Posted July 4, 2007 even better just use a submit button and style it with css... Quote Link to comment https://forums.phpfreaks.com/topic/58090-solved-ie-not-recognising-my-buttons/#findComment-289482 Share on other sites More sharing options...
stockton Posted July 4, 2007 Author Share Posted July 4, 2007 ToonMariner, how do I do that inside an anchor? My original code looks like and you told me that I cannot do this <a href="Administration.php"><BUTTON TYPE="submit">Back</BUTTON> Quote Link to comment https://forums.phpfreaks.com/topic/58090-solved-ie-not-recognising-my-buttons/#findComment-289507 Share on other sites More sharing options...
ToonMariner Posted July 4, 2007 Share Posted July 4, 2007 you don't need an anchor if you are submitting information form a form then the submit button is what you should use. If you use and anchor then you rely on javascript being enabled to do teh submission for you - and that is not always the case. Quote Link to comment https://forums.phpfreaks.com/topic/58090-solved-ie-not-recognising-my-buttons/#findComment-289512 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.