Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: image event


Message #1 by "George Tatar" <gathome@s...> on Fri, 14 Dec 2001 01:13:40
You might want to try using just "onClick" instead of mousedown.  see if 
that helps. 
=============
Is it possible to run javascript on a onmousedown over an image,
or invoke a function
what do i need to change to make the following code work

<INPUT TYPE="image" SRC="larw.gif" 
onmousedown="javascript:this.form.Field2.value++;">

im trying to increment a value in a text box(field2)

thanks for any help

  Return to Index