<a href="javascript:document.apply.submit()" >Submit</a>

I use this all over my website. It works great every where but on one page. The error is document.apply.submit is not a function.

I would include the code but the page really long.

Anyone have any ideas what would cause this error?

Maybe Javascript can't locate apply id or apply is not located in that page.

I had accidentally used the id "apply" another place on the page. Thanks for the help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.