tags:

views:

12

answers:

1

I have created a jquery plugin to perform a watermark style on a textbox.

Now i want to create another plugin that inherits from this plugin - is this possible? both plugins perform very similar tasks and dont want to rewrite the similar functions.

A: 

Take a look here, a good tutorial about subclassing widgets.

Yanick Rochon