A couple of weeks ago I mentioned that I had built a tooltip using jQuery. We focused mostly on the positioning of the tooltip at the time because, historically, that’s where most of the work has been.
But there are other time-saving features that also make the tooltip code I wrote a lot more flexible.
Continue reading “jQuery – Retrieving HTML Fragments”
As well as being able to change the class associated with an element or a set of elements on a screen, jQuery also allows you to fire events. You might want to do this, for example, if you want to simulate the clicking of a button.
Of course, if you are going to fire an event, you’ll probably need some sort of event listener setup to handle that.
Continue reading “jQuery – Events”