...

View Full Version : how to transfer data between 2 html pages



venkatmallu.net
04-30-2007, 09:35 AM
hi friends....
I'm struggling with one problem plz help me

-->i've a textbox and button in home.html
-->i've another textbox in welcome.html

now i want the textbox value entered in home.html to the textbox in welcome.html....

using only html tags and javascript



thanks in advance


regards,
venkat

Philip M
04-30-2007, 11:00 AM
All explained in

http://www.javascriptkit.com/javatutors/send1.shtml

Or you could use a cookie.

Or even:

First page:
window.name = "Whatever";
Second page:
document.write(window.name); // <- prints "Whatever"

felgall
04-30-2007, 11:25 AM
There are three ways JavaScript can communicate between web pages (excluding renaming the current browser window).

1. Query strings
2. Cookies
3. Frames

venkatmallu.net
04-30-2007, 01:37 PM
http://www.javascriptkit.com/javatutors/send1.shtml
its not working for transfering 2 values.....
how it can be achieved using cookie, Query Strings, Frames...
plz can u give a sample program tried by u



thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum