Created
September 8, 2013 13:44
-
-
Save fabriciosanchez/6484809 to your computer and use it in GitHub Desktop.
Função Javascript que serializa o formulário de exemplo do post sobre serialização.
This file contains 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 MostraFormSerializado() { | |
var Res = $("form").serialize(); | |
$("#Resultado").text(Res); | |
} | |
$("input[type='button']").on("click", MostraFormSerializado); | |
//MostraFormSerializado(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment