Last active
April 6, 2021 19:13
-
-
Save kauanmocelin/1c13bb4d79572e557dd9ac4518f0856a to your computer and use it in GitHub Desktop.
[Callback após executar 'load' com JQuery] #jquery #ajax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exibirNotificacao(id){ | |
$jQuery("#dlg_notificacao").load("consultarProtocoloDigital.do?action=ajaxCarregarNotificacao", {id:id}, function(){ | |
dlgAbreNotificacao.dialog("open"); | |
}); | |
} | |
Passar form via jquery: | |
var teste = $jQuery('#form1').serialize(); | |
console.log(teste); | |
$jQuery("#dlg_inserir_anexo").load("encaminharProtocoloDigital.do?action=ajaxInserirAnexo", $jQuery('#form1').serialize(), function(){ | |
dlgInserirAnexo.dialog("open"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment