jQuery code:
$(document).ready(function() {
$("#post_submit").click(function(event) {
event.preventDefault();
$("#show").load("post.php", {
submit: $("#post_submit").val(),
title: $("#title").val(),
body: $("#body").val(),
tags: $("#tags").val()
});
});
});
This works fine, and the information is displayed in without the page reloading (yay), but it's not very smooth. I was wondering how I could make it appear slowly, like $(div).show("slow");
or $(div).toggle("slow")
.