D
David Williams
Hi, I have a problem where whenever I have a mouseover, the document.write on my javascript page, tries to submit the page.
<input type=submit value="val" onmouseover=func1() onmouseout=func2()>
func1(){
document.write("<h1>Hello</h1>")
}
I guess the mouseover executes the submit. Any way around this?
<input type=submit value="val" onmouseover=func1() onmouseout=func2()>
func1(){
document.write("<h1>Hello</h1>")
}
I guess the mouseover executes the submit. Any way around this?