Paste: blah

Author: AG
Mode: javascript
Date: Thu, 14 Jul 2011 19:20:01
Plain Text |
$("#submitButtonID").click(function() {
	var formInputVal1 = $("InputVal1").val();
	var formInputVal2 = $("InputVal2").val();
	var formInputVal3 = $("InputVal3").val();
	$.post("document.html", {InputVal1: formInputVal1, InputVal2: formInputVal2, InputVal3: formInputVal3});
});

Annotation: Method with call-back

Author: AG
Mode: javascript
Date: Thu, 14 Jul 2011 19:24:46
Plain Text |
$("#submitButtonID").click(function() {
	var formInputVal1 = $("InputVal1").val();
	var formInputVal2 = $("InputVal2").val();
	var formInputVal3 = $("InputVal3").val();
	$.post("document.html", {InputVal1: formInputVal1, InputVal2: formInputVal2, InputVal3: formInputVal3},
	function(returnData) {
		alert("Form Submitted Successfully!");
	});
});

New Annotation

Summary:
Author:
Mode:
Body: