04-22-2009, 05:59 PM
|
#2 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
You have to wait for those DOM elements to have been loaded before you can access them with JavaScript. Either hook into the body's onload event (or DOMReady if you're feeling adventurous) or place the script below the inputs in your HTML.
|
|
|
|