• Post Reply Bookmark Topic Watch Topic
  • New Topic

disable form  RSS feed

 
johny mill
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to disbale entire form using javascript,

is it possible.

Help me,

Thanks in advance.
 
Pavan Keely
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Johny,

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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!