|
-
March 6th, 2008, 04:21 AM
#1
How to get the value of text field into another textfield which is there in different
Hi,
Can any one tell "How to get the value of text field into another textfield which is there in different html page without redirecting that page using Javascript..."
For example,I have page1.html with two text fields and one button. page2.html with two text fields and one button.
In page1.html,there is a text field for date entry.after filling the fields,the save button is clicked by which all the values are saved and control will be in the same page.page1.html is not redirecting to page2.html.
When i open page2.html,one of the textfield in this page should filled with that value (i.e date) which is entered in the page1.html.
Can someone please help me?
Tahnk you...
-
March 6th, 2008, 08:40 AM
#2
Re: How to get the value of text field into another textfield which is there in diffe
The only way to do this on the client-side (without involving server-side code) is by using cookies.
http://www.google.com/search?source=...=Google+Search
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
March 7th, 2008, 07:12 AM
#3
Re: How to get the value of text field into another textfield which is there in different
Hi,
Thank you for ur reply.....
Am new to java....
Will you please give outline code of cookies which are used to store the userid.......
My problem is I want to save the login userid into cookies throught the all pages , I can able to use that value in any page and I want to reset that cookie after logout....
How can I do the coding for this requirement?
Can someone please help me.....
Thank you......
-
March 7th, 2008, 09:26 AM
#4
Re: How to get the value of text field into another textfield which is there in diffe
Can you not do any of your own research? Google is a great tool! Try searching.
Advice: I hope you are using some server-side language to do the authentication/login to your site. That maximizes security.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
March 10th, 2008, 12:16 AM
#5
Re: How to get the value of text field into another textfield which is there in different
Hello PeejAvery,
I can solve my problem. Till now I did the same thing.Any way thnks for your advice.Don't think so much......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|