1
Good morning! I am using the following code to pick up the result of a form and play it on the page without having to reload:
<script type="text/javascript"> // Script
jQuery(document).ready(function(){
jQuery('#ajax_form').submit(function(){
var dados = jQuery( this ).serialize();
jQuery.ajax({
type: "POST",
url: "salvaregistro.php",
data: dados,
success: function( data )
{
document.getElementById('resultado').innerHTML = data;
}
});
return false;
});
});
</script>
However this code only releases the text. I wonder if it has how to apply the fadein effect to the text appear softer say...
Did you know that you can choose one of the answers given to you as the most correct and that helped you the most? I saw that you didn’t pick any answers on any questions you asked. Didn’t you like anything? None helped you? Or just didn’t know it? And you can also vote for anything you find interesting on website. Voting helps classify quality content. You can vote on all questions and answers you think are useful, not just answers given in your questions. See [tour] for more. I suggest to review all answers and accept one whenever possible.
– Maniero
Oops, I just picked the answer
– GGirotto
Great, don’t forget to review all your questions and see where you can accept something as the final solution for you. http://answall.com/users/21825/guilherme?tab=questions
– Maniero