javascript - Popup no working when page change -


i have popup ajax call him table , works until perform new query changes data in table . if 'll call not work, not error(out success)

my javascript

<script type="text/javascript">      var thedialog = $('#my-dialog').dialog({          autoopen: false,          modal: true,          closeonescape: false,          height: screen.availheight - 100,           width: 1100,          show: 'fade',          hide: 'fade',          resizable: 'false'      });      var mydialogprogress = $('#my-dialog-progress');      var mydialogcontent = $('#my-dialog-content');           function showeventregistrantsummary(id, ui) {          $.ajaxsetup({ cache: false });          mydialogprogress.show();          thedialog.dialog('open');          mydialogcontent.html('');            $.ajax({              url: 'home/popup?id=' + id + '&ui=' + ui,              type: 'get',              cache: false,              datatype: 'html',              success: function (data) {                  mydialogprogress.hide();                  mydialogcontent.html(data);              },              error: function (xmlhttprequest, textstatus, errorthrown) {                  alert("estado: " + textstatus); alert("error: " + errorthrown);              }          });              }  </script>


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -