When building an application with jQuery, it’s very likely that you will end up writing some code that would be easiest to use directly in a jQuery chain. When the functions you’re writing solve general problems that don’t have a dependency on your application, it’s usually obvious that you should write the function as a… Continue reading Creating Application-specific jQuery plugins
Tag: plugin
Building stateful jQuery plugins
Background Over the past few years, jQuery has dominated the web development community with its simple, yet brilliant, API. The “find elements, do something†pattern and ability to chain function calls together combine to create code that reads like English. jQuery’s simplicity and almost nonexistent learning curve have made it extremely popular among developers and… Continue reading Building stateful jQuery plugins