views:

2187

answers:

3

How do you make a simple POST request in Javascript without using a forms and without posting back?

+2  A: 

There is a solution here: http://stackoverflow.com/questions/133925/javascript-post-request-like-a-form-submit

Gdeglin
+1  A: 

You can do this using AJAX calls (XMLHttpRequest object)

http://www.openjs.com/articles/ajax_xmlhttp_using_post.php