javascript - Extending jQuery UI methods -


i'm looking see if it's possible add methods or interactions jquery ui library without editing code itself? want able upgrade new versions come out, still able add own features extend base ui script.

example:

i want use .dialog() method have pointer tips provide messaging specific areas.

is there easy way add this, or end having download source , myself each time release comes out?

access ui widget's prototype:

var proto = $.ui.autocomplete.prototype;  proto.mynewmethodforautocomplete = function(){     // ... }; 

you can directy extend prototype this: how extend jquery ui widget ? (1.7)


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -