wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes onclick function is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "onclick function is not working" Watch "onclick function is not working" New topic
Author

onclick function is not working

suresh pulapally
Ranch Hand

Joined: Mar 15, 2005
Posts: 47
Hi,

I have written onClick() function in select tag this function is working when i double click,and its its not working for single click.please anybody suggest me what to do

Thanks
suresh
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
For a select tag you should be using onfocus, onblur, onchange. Why are you using onclick?

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: onclick function is not working
 
Similar Threads
disable anchor tags on printable page
problem with jsp for reset() method
jQuery functionality is not working on firefox browser
unable to call function onclick
Facing problem to pass a quoted String as a parameter in javascript function