Как передать параметр с одной страницы. aspx с помощью jquery и получить значение на другой странице. aspx?
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(""); }); });