Submiting a form with Javascript

    Date: 04/26/07 (Javascript Community)    Keywords: php

    Ok... I need another pair of eyes.


    I am getting "document.myform.submit is not a function"


    
    function form_verify()
    {
    document.myform.action = "form_handler.php";
    document.myform.submit();
    }


    And here is the form tag



    What the heck am I doing wrong? I picked this up from another script that used to work.


    [SOLVED]
    Buttonwas named submit. Whoops.

    Source: http://community.livejournal.com/javascript/132332.html

« Need some help with a... || Hiding an element »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home