 <p>You can use JavaScript with a little help from jQuery Library to post to an .aspx page. I wrote an example for PHP <a href="http://stackoverflow.com/questions/1353678/calling-javascript-with-php/1353686#1353686">here http://stackoverflow.com/questions/1353678</a>. The javascript part would stay the same, but on the server side you would have to read the query string to read in the variables using Request.querystring. Also If you want to return JSON data you will have to change the response type to be plain text rather HTML. Like this:</p> <pre><code>context.Response.ContentType = "text/plain"; </code></pre>