you mean to all classes that found on a page ?
<div class="myClass" title="Hello">...</div>
<div class="myClass" title="Hello">...</div>
<div class="myClass" title="Hello">...</div>
<span class="myClass" title="Hello">...</span>
<p class="myClass" title="Hello">.....</p>
or just any element with class '.myClass' ?
jquery tooltip takes all element with title
$(function() {
$( ".myClass" ).tooltip();
});
or this
$(function() {
$( ".myClass" ).tooltip({content:function(){
return "My title"
}
});
});
it will result this : try it