Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ocualtar(div, page) {
- $("#miModal").modal('hide'); //ocultamos el modal
- $(div).load(page, function (data, status, xhr) { //aquĆ hago el cambio en el div
- if (status == "error") {
- $("#errorPrincipal").html(data + "<br/>" + xhr.status + " " + xhr.statusText);
- } else {
- //$(div).html(data);
- finalizar();
- }
- }); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement