| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Form not working in Internet Explorer|
is working in both firefox and opera
| 3:27 am on Apr 7, 2005 (gmt 0)|
It must be something simple that I am just overlooking so I hope someone here might be able to spot it.
It works without a problem in firefox and opera but in IE6 it just refreshes the page. If I hit refresh in IE it says "...this page cannot be refreshed without resending data..." Any idead?
<form action="http://example.com/page" method="get" enctype="text/plain">
<option value="5" selected="selected">5</option></select>
<option value="1" selected="selected">1</option>
<input type="submit" value="Next"></input>
| 3:16 pm on Apr 7, 2005 (gmt 0)|
I`m guessing the problem is your form action:
| 3:49 pm on Apr 7, 2005 (gmt 0)|
Yes, the form's action is definitely the place I'd look first - is everything shipshape on whatever script catches the data? I assume the form points to a script, at any rate.
There also might be some peculiarity in the way you've set up the attributes in the select boxes. It's hard to say from the abbreviated code, but that's the other hot spot.
1) catch the data with the form
2) pitch it to the server
3) do what you need to do with the data
4) throw it back to wherever it goes (database, new page, mailserver, whatever)
| 4:21 pm on Apr 7, 2005 (gmt 0)|
It was this enctype="text/plain", doesn't work in IE but Opera and Firefox have no problem with it. Once I removed it everything was fine.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved