Código PHP:
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-form" ).dialog({
autoOpen: false,
height: 250,
width: 650,
modal: true,
buttons: {
"Aceptar": function() {
},
Cancel: function() {
$( this ).dialog( "close" );
},
"Buscar":function()
{
"<input type='text' id='buscar' name='buscar'>"
}
},
close: function() {
}
});
//$( "#nombreProducto" ).click(function() {
// $( "#dialog-form" ).dialog( "open" );
//});
});