Archive for July 24th, 2012
While jQuery has a lot of functionality built into it, you may find that you have a need to implement your own functions and attach them to the jQuery framework in some way.
There are two ways to do this. You could extend the framework by creating a plug-in or you could use one of the built-in functions and simply tell it to call your function. For one-off implementations, using the function is easier and recommended. But if you are going to reuse the code between multiple projects you’ll want to implement the added functionality as a plug-in.
Today, we’ll look at using the built-in function.
Republished by Blog Post Promoter