I am trying to get the value of the posted textbox using jquery AJAX:
This is my code:
$(document).ready(function(){
$(\'#submitButton\').click(funct
Your ajax is using POST
, ASP will need to get the value using request.form
instead of request.querystring
- alternatively, change your ajax to GET
.
Your form is POSTing so you can't access the variables you send via Request.QueryString
but rather via Request.Form
. Alternatively, change your ajax call to type:'get'
.