Creating and Using a jQuery Plug-in in ASP.NET Web Forms
- by bipinjoshi
Developers
often resort to code reuse techniques in their projects. As far as
ASP.NET framework server side programming is concerned classes, class
libraries, components, custom server controls and user controls are
popular code reuse techniques. Modern ASP.NET web applications no longer
restrict themselves only to server side programming. They also make use
of client side scripting to render rich web forms. No wonder that
Microsoft Visual Studio 2010 includes jQuery library by default as a
part of newly created web site. If you are using jQuery for client side
scripting then one way to reuse your client side code is to create a
jQuery plug-in. Creating a plug-in allows you to bundle your reusable
jQuery code in a neat way and then reuse it across web forms. In this
article you will learn how to create a simple jQuery plug-in from
scratch. You will also learn about certain guidelines that help you
build professional jQuery plug-ins.http://www.bipinjoshi.net/articles/aae84a03-b4a8-477d-b087-5b7f42935220.aspx