Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. function ocualtar(div, page) {
  2.  
  3. $("#miModal").modal('hide'); //ocultamos el modal
  4.  
  5. $(div).load(page, function (data, status, xhr) { //aquĆ­ hago el cambio en el div
  6. if (status == "error") {
  7. $("#errorPrincipal").html(data + "<br/>" + xhr.status + " " + xhr.statusText);
  8. } else {
  9. //$(div).html(data);
  10. finalizar();
  11. }
  12. }); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement