Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help for JS
#3
Ah, thanks. I myself used this, as I name all the input-data in the forms. Seems to work fine in this way:

Code:
function enable_disable(str){
    var x = document.getElementsByName(str)[0];
    x.disabled = !x.disabled;
}

Noah
Reply


Messages In This Thread
Help for JS - by Noah - 2009-09-13, 11:11 AM
Help for JS - by Russt - 2009-09-13, 01:46 PM
Help for JS - by Noah - 2009-09-13, 02:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)