D
DL
I have a form like this:
<html>
<body onload("save(), otherFunction()")>
<form>
name: <input ..../>
email <input .../>
comment: <textarea ....></textarea>
save: <input type="submit" id="saveit" value="SAVE"
style="display=none">
</body>
</html>
What I'd like to do is:
when the form is first loaded, hide the SAVE input box, after 40
seconds show it up.
I have a function like
function save() {
setTimeout('docuemnt.getElementById
("saveit").style.display="block"',4000);
}
Not working. Know why?
Thanks.
P.S. Not putting the js code directly in the onload event trigger at
BODY tag is because there are other js functions at the tag level as
well.
<html>
<body onload("save(), otherFunction()")>
<form>
name: <input ..../>
email <input .../>
comment: <textarea ....></textarea>
save: <input type="submit" id="saveit" value="SAVE"
style="display=none">
</body>
</html>
What I'd like to do is:
when the form is first loaded, hide the SAVE input box, after 40
seconds show it up.
I have a function like
function save() {
setTimeout('docuemnt.getElementById
("saveit").style.display="block"',4000);
}
Not working. Know why?
Thanks.
P.S. Not putting the js code directly in the onload event trigger at
BODY tag is because there are other js functions at the tag level as
well.