This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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


Win a copy of The Software Craftsman this week in the Agile forum!
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: 15383
    
    6
For a select tag you should be using onfocus, onblur, onchange. Why are you using onclick?

Eric
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: onclick function is not working