homepage Welcome to WebmasterWorld Guest from 54.227.40.166
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

    
Form not working in Internet Explorer
is working in both firefox and opera
twist




msg:1583792
 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">
<table>
<tr>

<td>A<br />
<select name="a">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5" selected="selected">5</option></select>
</td>

<td>B<br />
<select name="b">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</td>

<td>
<input type="submit" value="Next"></input>
</td>

</tr>
</table>
</form>

 

dreamcatcher




msg:1583793
 3:16 pm on Apr 7, 2005 (gmt 0)

I`m guessing the problem is your form action:

[example.com...]

:)

tedster




msg:1583794
 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.

Basically it's:
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)

twist




msg:1583795
 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved