Steve 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 Read more →