<ni******@yahoo.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I have a page with image, image has some image map, I want to submit
form when user mouseover that image map, my code is like this:
<img src="Images/floor4.jpg"usemap="#planetmap" id="IMG1">
<map id="planetmap" name="planetmap">
<area id=f4 shape="circle" coords="65, 93, 11" alt="CF4588"
onmouseover=overf4()>
And I write sub overf4() in vb script
sub overf4()
document.frmSelect.submit()
end sub
when mouse over that point form submit several times until mouse in on
the point I want to sumbit iust one time
can u help me?
a.) This is a client-side script question, not an ASP question.
b.) Why do you want to submit a form without the user's knowledge?
c.) Why, in the name of all things large and small, would you ever use
VBScript on the client side from within an HTML document?
If you are writing malware, merely because you were assigned to a
malintended project, you need to do this: Just Say NO! Jobs are cheap. If
you lack ethics, you are worthless. If you compromise your ethics for mere
money, it's almost the same as having none -- actually, it's worse, because
it implies you know right from wrong, but choose to ignore it.
Now please tell us -- and don't lie, because we'll know -- what good,
useful, ethical purpose might there be for submitting a form in onmouseover?
-Mark