this is my post method :(Code is as per tutorial )
$.post('test.htm',{name:test_name"}, function (data) {
$('#feedback').html(data);
});
I want to append'name' parameter on test.html .and then retrieve complete data on index.html page
Test.html
<body>
<div> welcome + //How to append name here ?? </div>
</body>
I can do it on php by "$_POST"
command .... whats the alternative of it on HTML page ..
Final data will be display in index.htm
<body>
<input id="button" type="submit" value="Go" />
<div id="feedback"> </div>
</body>
Similar Posts:
How do I POST this data to an http server?
jQuery post not returning data
Jquery Post Data
jQuery - Redirect with post data