Expand|Select|Wrap|Line Numbers
- <body onLoad="load()">
I commented out all my lines and am using only an alert to make sure it's working, but I'm seeing an error displaying "Object Expected". My function isn't expecting an object, what gives?
Expand|Select|Wrap|Line Numbers
- function load(){
- alert("hi");
- // var el = document.getElementByTagName("input");
- // for(i=0;i<el.length;i++){
- // alert(el[i]);
- //el[i].addEventListener("click", clearField,false);
- }
- }