can somebody tell me what is jQuery plugin? I have used the jQuery library to build some small UI enhancements but i have no idea how to implement a plugin.
Any suggestions on how to get started?
TIA
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably the best resource you can read concerning jQuery plugin development is the Plugin Development Pattern by learningjquery.com:
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
Of course it can’t hurt to have a look at the official jQuery Plugin Development Guide and its equivalent from jQuery UI.
And to give you a (very) little insight… plugin development is really easy if you aren’t completely new to jQuery. Basically, it is as simple as
Which then could be used in the known way: