Ajax with jQuery UI dialog not working
I am trying to update my custom database table when changes are made in a dialog box. The script for the dialog box and ajax call is as follows – jQuery(document).ready(function($){ $(“td > span”).click(function(){ var id = $(this).attr(‘id’); var message = “message”+id; var content = jQuery(“#”+message).text(); var $dialog = $(“<div></div>”).html(“<textarea style=”width:99%; height:90%” class=”popup-content”>”+content+”</textarea>”).dialog({ height: 400, … Read more