Hello.
Tell me, please, what is the problem. There is a table with data and buttons: delete, edit and save. Clicking on the edit button executes an Ajax request; if the query was executed successfully, I transfer the results of this query to the dialog box. In the total, the data in the dialog box for some reason is not displayed, and after clicking on the edit button again, 3 windows already pop out and so it grows each time.
$(document).ready(function () { var pl_dialog = $('#pl_info'); pl_dialog.dialog({ autoOpen: false }); ("a[id ='ed_player']").click(function (event) { event.preventDefault(); var url = $(this).attr('href'); $.ajax({ url: url, success: function (data) { pl_dialog.html(data); pl_dialog.dialog("open"); } }); }); });