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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -