• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

jQuery On Click Event Firing Twice

 
Ranch Hand
Posts: 2291
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Again I need some help and have a wild question.
Is there any obvious reason why the following JS would fire twice?
This does not happen when I initially(load a menu) start my application.
However, once I log on(reload the menu), this behavior starts.

 
Steve Dyke
Ranch Hand
Posts: 2291
2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just realized I did not need the extra attribute.
I removed it and it works as expected.

was:


changed to:
 
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic