Jquery dialog - button tooltip -


how set tooltip jquery dialog buttons ? please see below ...here no id or style classes.

jquery("#dialog-form").dialog ({   autoopen: false,   height: 600,   width: 700,   modal: true,   resizable: false,   draggable: false,    buttons : {      "search" : function() {},"edit":function()} 

when mouse on button or ready click button, message needs showup. please advise.

easiest way enumerate buttons , assign title attribute.

$('button').eq(0).attr('title','delete items'); $('button').eq(1).attr('title','cancel'); 

jsfiddle example


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -