jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes disable form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable form" Watch "disable form" New topic

disable form

johny mill

Joined: Jul 08, 2006
Posts: 13

I want to disbale entire form using javascript,

is it possible.

Help me,

Thanks in advance.
Pavan Keely
Ranch Hand

Joined: Jun 30, 2006
Posts: 62

Do you mean you want to disable all the elements in form ? or disable form submission ?

If that's the first one, there is no one statement that you can use but you can write a simple function which will loop thruough all the elements of the form and disable each of them.

Pavan Keely

Pavan Keely<br /><a href="http://keelypavan.blogspot.com" target="_blank" rel="nofollow">http://keelypavan.blogspot.com</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: disable form
It's not a secret anymore!