Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

disable form

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic