jquery - using qtip to replace ALL title attributes on a page -
if there way have title attributes become qtips?
right i'm going through , finding tags need done slow , not reliable.
instead of this
$(document).ready(importantfunction); function importantfunction() { sys.application.add_load(function () { $find("ctl31").add_propertychanged(viewerpropertychanged); }); } function viewerpropertychanged(sender, e) { if (e.get_propertyname() === "isloading") { var viewer = $find("ctl31"); if (!viewer.get_isloading()) { $('table[title]').qtip(); $('td[title]').qtip(); $('input[title]').qtip(); $('a[title]').qtip(); } } }//*/
i want call once if possible.
pretty easy:
$('[title]').qtip();
Comments
Post a Comment