a=0;//Looping Var
b=100;// Maximal Looping
Showing posts with label programing. Show all posts
Showing posts with label programing. Show all posts
Friday, August 16, 2013
Sunday, August 11, 2013
Simple PHP Jquery Send POST On Click (jQuery.post())
File Url1.php head tag
<script src="jquery-1.5.2.min.js"></script>
<script language="javascript">
function send_post()
{
$.post("url2.php", {formvar:document.getElementById('formvar').value}, function(data)
{
$("#isi").html(data);
});
}
$("#btn").click(function() {
send_post();
});
});
</script>
Subscribe to:
Posts (Atom)