Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

onclick function is not working

 
suresh pulapally
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a select tag you should be using onfocus, onblur, onchange. Why are you using onclick?

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic