Response title
This is preview!
Seeing issue where adding a tooltip to a select makes the datepicker flash for a split second.
You can see an example here http://jsbin.com/eqazofI/2/
Open the dialog then click the button to add the tooltip to the select. Then click the select and you should see the problem.
I have a generic popup function using jquery ui dialog:
function popupbox(html) {
var p = jQuery('<div class="dialoginnerbox">' + html + '</div>').dialog({
autoOpen: false,
resizable: false,
modal: false,
width: 'auto',
height: 'auto',
maxHeight: 600,
maxWidth: 980,
title: jQuery('.popupTitle').text(),
buttons: [
{
text: jQuery('.popupCaller').attr('popupsubmitlabel'),
click: function() {jQuery('.popupCaller').attr('popupsubmitaction')
}
},
{
text: 'Cancel',
click: function() {
jQuery(this).dialog('destroy').remove();
}
}
]
});
p.dialog('open');
}
This generic popup is called from many different places so I need to be able to make the button1 text and function dynamic. I have tried passing the function in as an attribute but it doesn't seem to work. Notice the
click: function() {
jQuery('.popupCaller').attr('popupsubmitaction')
}
Please help :)
© 2013 jQuery Foundation
Sponsored by and others.