View Full Version : Saving the inputs

06-03-2004, 02:52 AM
Is there any way to save the words typed in the input fields date,rank/name and nric using javascript and then I carry on filling in the other forms?
Pls help.Thankssss

06-03-2004, 03:22 AM
Do you mean somthing like this:



function Type() {

document.all.span1.innerHTML= form1.date.value ;

<form id="form1">
<Textarea id="date" onkeyup="Type();"></textarea>

<span id="span1" style="background:#BBB;width:400px;height:400px;"></span>


06-03-2004, 03:24 AM

But if you want the data to be persistent the next time the user visits the page, you have to store the data to a database. And you need a server-side language to do that.