MooTools Tip: Event.stop
The above code works great but there's one small hole I sometimes run into. On rare occasion I feel the need to trigger an event on an element:
The problem is that the Event object is not given when an event is triggered using Element.fireEvent. The way to prevent any problems is an easy if check:
Voila. The safe way to stop events!
Kids these days, I tell ya. All they care about is the technology. The video games. The bottled water. Oh, and the texting, always the texting. Back in my day, all we had was...OK, I had all of these things too. But I still don't get...
attachEvent. Times have changed but there are still a few functions each developer should...
The ability to place content into a user's clipboard can be extremely convenient for the user. Instead of clicking and dragging down what could be a lengthy document, the user can copy the contents of a specific area by a single click of a mouse.