|
-
February 27th, 2003, 09:57 AM
#1
Internet Explorer features
Hi,
I have a html running on a webserver with the following javascript included:
<script language=javascript>
function deleteit()
{
document.list.action = "delete.asp";
document.list.submit();
}
function saveit()
{
document.list.action = "save.asp";
document.list.submit();
}
</script>
<form name="list" methode="get">
<input type="button" value="delete it" onclick="return deleteit();">
<input type="button" value="save it" onclick="return saveit();">
</form>
When I click the buttons in Netscape ... no problems. In IE, this gives problems on the submit line.
Anyone knows why?
Thanks!!
S.
Programmers song.
100 little bugs in the code.
100 little bugs in the code.
Fix one bug and recompile.
101 little bugs in the code.
[Repeat until bugs = 0]
-
February 27th, 2003, 12:39 PM
#2
I figure that list must be your form name!?
What version of IE are you using? I use that sort of thing all the time using IE 5.0. What errors are you getting?
-
February 27th, 2003, 12:50 PM
#3
I tested under IE 5.5 and 6, neither gave an issue.
What is the full text of the error and do you have any other items or inadvertently named "list" perchance?
-
February 28th, 2003, 02:33 AM
#4
Methode
Thanks for the answers but I think I found the error. On my form, I have a lot of input fields. When I submit this data, when using the get methode, the url will be to long for IE. For Netscape this is apparently no problem. So I have to change my methode in order to get it running meaning I have to change my asp scrip also
Programmers song.
100 little bugs in the code.
100 little bugs in the code.
Fix one bug and recompile.
101 little bugs in the code.
[Repeat until bugs = 0]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|