By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

input type submit not working with anchor tag in IE

P: 2
<a href="abc.php"><input name="logout" value="Logout to Change Name" type="submit" ></a>


it's not working in IE but works in Mozilla
Feb 18 '08 #1
Share this Question
Share on Google+
3 Replies


ronverdonk
Expert 2.5K+
P: 4,258
<a href="abc.php"><input name="logout" value="Logout to Change Name" type="submit" ></a>
it's not working in IE but works in Mozilla
Proper way to do this is:
Expand|Select|Wrap|Line Numbers
  1. <a href="abc.php">Logout to Change Name"</a>
Ronald
Feb 18 '08 #2

P: 65
Proper way to do this is:
Expand|Select|Wrap|Line Numbers
  1. <a href="abc.php">Logout to Change Name"</a>
Ronald

Hi Ronald,

If we want to create a link on the button means what has to do???
That is what i'm asking is,
There should be a button which says Logout, when we click on it, the page has to logout. For this what has to do?
Why the previous code does n't work???

Thanx n Regards
Yas
Feb 20 '08 #3

Markus
Expert 5K+
P: 6,050
Hi Ronald,

If we want to create a link on the button means what has to do???
That is what i'm asking is,
There should be a button which says Logout, when we click on it, the page has to logout. For this what has to do?
Why the previous code does n't work???

Thanx n Regards
Yas
<form action="logout.php" method="post">
<input name="logout" value="logout" type="submit">
</form>

then catch it on logout.php
Feb 20 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.