I have two .aspx pages i.e. WebForm1 & WebForm2. I want to pass param value 30 from Page1 to page2 using Jquery. How can I receive that value in **Page2** and populate a label with that? I can not use any backend module for this. It should be purely client side operation. If anyone have solution please reply. Thanks in advance
$(document).ready(function () { var data = "T260203"; var param = 30; var redirectUrl = "../WebForm2.aspx"; $('#btnGo').click(function (e) { $('#txtInput').val(data); //location.href = '../WebForm2.aspx'; var url = redirectUrl; $(location).attr('href', url); $("#txtInput").val(""); }); });
$('#btnGo').click(function (e) { var paramvalue= values; url=webform2.aspx?paramID=paramvalue; location.href =url; } using request.querystring you can retirve.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)