0

can any one tell me how to do this in JQuery?

i have two .aspx pages named default1.aspx and default2.aspx. default1.aspx has one textbox named as textbox1 and default2.aspx has one textbox named as textbox2. default1.aspx opens the default2.aspx by using window.showmodaldialog(). Issue is that While i am changing the text of textbox2, the textbox1 text also gets changed.

1
  • any fiddle or jQuery code disturbing you would be useful, try posting here. Commented Nov 14, 2012 at 6:38

2 Answers 2

1

one possible way to do it using cookies

check it here

Create, read, and erase cookies with jQuery

Sign up to request clarification or add additional context in comments.

Comments

0

another way to do this if you is to use html5 webstorage

firstpage

localStorage.value="value";

secondpage

var value=localStorage.value;

http://www.w3schools.com/html/html5_webstorage.asp

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.