Steven Senkus

Software Developer living in ๐ŸŒž sunny, ๐ŸŒž sunny San Diego

jQuery โ€“ Find event handlers for a DOM element

As a JavaScript developer, you will eventually find yourself debugging code someone else wrote.ย Unit tests only cover so much and most tests are written in an isolated environment.ย The truth in JS is when an application is running. When using third-party libraries and code you havenโ€™t written (legacy code), it is useful to be able to figure out whatโ€™s going on before implementing a new feature or fixing buggy code. Read more โ†’

jQuery Dropdown Login Menu with One-Shot Collapse

One-shot event handlers are a very useful tool to have in your Javascript/jQuery toolbelt. In this post, we will see how to effectively add a bit of UI interactivity into our pages and applications using one-Shot event handlers to create a jQuery dropdown login menu. Program Flow: Anonymously invoke a Menu constructor function Attach event handlers for #trigger button & the hidden , setting an initial state for the drop-down form EVENTS: click #trigger button: Read more โ†’