
-----------------------------------
pavol
Fri Nov 11, 2005 2:36 pm

transfer information
-----------------------------------
is there any way to take inputted information from a text field from one page and display it, or let another page use the information?

-----------------------------------
Tony
Fri Nov 11, 2005 2:40 pm


-----------------------------------
you would usually have some scripting language such as PHP or Ruby handing the information submitted through the form.

-----------------------------------
rdrake
Fri Nov 11, 2005 4:56 pm


-----------------------------------
This will allow you to change the text of one element based on the text from another.



Test




function update() {
    document.getElementById("2nd").value = document.getElementById("1st").value;
}




Change

But like Tony said, you'll need something like PHP or Ruby in order to view the text on another page.

-----------------------------------
md
Fri Nov 11, 2005 10:04 pm


-----------------------------------
Actually if you really want to do anything useful you need php or ruby AND some other back end database to store the text in. Writing directly to files *does* work, but it's slow and is highly prone to race conditions.
