PDA

View Full Version : [RESOLVED] Onchange transfer of data...


GεεRTHAN
04-08-2007, 02:35 PM
<html>
<head>
<title>Title</title>
</head>


<body>
<form>
<input type='text' name ="firstname" onchange='alert(this.value);' />
<input type='text' value="firstname" readonly="readonly"; />

</form>
</body>
</html>


Right...basically...once the user has inputted their data into the textbox...I want an alert to come up with the inptutted data..and upon clicking OK...I want that data to appear in the read-only textbox...how would I do that..? Above is what I have come to...but doesn't seem to work...:crying:

GεεRTHAN
04-08-2007, 02:42 PM
Oh...don't worry...sorted...used a getelelement by..and created a button that carried out two functions...:)