{I+=codeWee;}
[Javascript] jquery: ajax - post and get HTML data
In HTML,

	<Script>
		$.post("action.asp", 
		{
			Param_A : "A",
			Param_B : "B"
		})
		.done(function(data) {
			alert(data);
		})
		.fail(function(jqXHR, status, error) {
			alert(jqXHR.responseText);
			alert(status);
			alert(error);
		})
		.always(function() {
		});
	</Script>


In ASP,

<%
Param_A = request("Param_A")
Param_B = request("Param_B")

response.write Param_A
response.write "<BR />"
response.write Param_B

%>
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.