form submit

This page should automatically submit my form, and go to document.asp.
But it does not (property or method is not supported by the object). Who knows what's wrong?

[code]


Top 100 Nederland


function verder()
{
document.form1.submit();
}
















[/code]

Comments

  • The problem is that your form has a function named "submit" but also a control that's named "submit".

    The problem can be solved by renaming your submit button or by clicking the button with "document.form1.submit.click()"

    : This page should automatically submit my form, and go to document.asp.
    : But it does not (property or method is not supported by the object). Who knows what's wrong?
    :
    : [code]
    :
    :
    : Top 100 Nederland
    :
    :
    : function verder()
    : {
    : document.form1.submit();
    : }
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    : [/code]
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion