Object not valid error

    Date: 12/20/06 (Web Development)    Keywords: browser, java

    Hey guys,

    I'm trying to build a page with two forms. The first form is located in an invisible layer, and it comes to view only when the user clicks the submit button of the second form. The button in the first form, which is not a submit button, uses a javascript like document.getElementById("commentform").submit(); to submit the second form.

    However this is where something happens and I don't know what. The browser throws an error like "Object doesn't support this property or method." And it gives as culprit the script I typed above. The only method or function that I can see here is submit(), but that is not an exotic function, and the browsers I tried it in are all latest model. How is it possible that the object doesn't support this method???

    Source: http://community.livejournal.com/webdev/377860.html

« Back button and Iframes || Heads up! Tags. »


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