Custom jQuery Functions

Often, I’ll want to create a custom jQuery function to manipulate HTML elements in an application-specific manner. As a simple example, let’s say I want to create a type of textarea that starts out short, but gets taller when i click on the field. I want to create a library to manipulate existing textareas, because I don’t want to go into each and every textarea to add onfocus and onblur code. Here’s how to do it:

Continue Reading…

Page 5 of 5«12345