Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help for JS
#2
document.getElementById(id) gets the element with the specified id. Store it in a variable (say "foo") and you can just do
Code:
foo.disabled = !foo.disabled;
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)