Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: event fired


Message #1 by "Bocai Mihai Cristian" <mihai.bocai@r...> on Mon, 22 Oct 2001 23:55:01 +0200
 Try with a function. An example:
<script for="img1" event="onclick">
function doAction()
{
  //the code you want to be executed
}
</script>
where img1 is the id of the image you want to receive
the event "onclick". 
Good luck!

--- Bocai Mihai Cristian <mihai.bocai@r...> wrote:
> Suppose this code:
> 
> <input type="file" name="ddd">
> 
> It's someone that knows what event is fired to open
> the explorer like file
> tree, when you click the browse button?
> The main event probably is onClick, but.....
> 
> What I want to do is changing that "Browse" button
> to a image and use
> something like: <a href="javascript:
> SOMETHING><img...></a>.
> 
> TIA

  Return to Index