Iam using two diffrenet pages.
Where First.aspx is having Submit button
when i click on this Submit it must change Labels text in Second.aspx
I tried using common JS file for both.
I have included JS in both First.aspx and Second.aspx.
my JS code for this simple functionlaity is
StatusChecker.js // Common JS for both pages
$(function () {
$(".imgSubmit").click(function () { // imgSubmit is in First.aspx
$(".lblStatus").text('This is New Status'); //lblStatus is in Second.aspx
});
});
Will this not workout???
If not how to fetch one pages control in other. Here i do not want to redirect after submitting or pass Query string. Thanks in advance.