Click to See Complete Forum and Search --> : Internet Explorer features


mlxsae
February 27th, 2003, 08:57 AM
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.

Goodz13
February 27th, 2003, 11:39 AM
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?

antares686
February 27th, 2003, 11:50 AM
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?

mlxsae
February 28th, 2003, 01:33 AM
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 :(