Click to See Complete Forum and Search --> : Looking for a script


ascentpc
12-12-2002, 07:35 PM
I'm looking for a script that if you put in a value on a form on one page you can have it add this value in on another form which you don't control. What I want to do make a page to submit to contest site but instead of having to type in the same info over and over again I can just hit a submit button.

ShrineDesigns
12-12-2002, 11:53 PM
this will do the trick

<html>
<head>
<title></title>
<script language="JavaScript" type="text/JavaScript">
<!--
function copyIt(from,to){
to.value = from.value;
}
//-->
</script>
</head>
<body>
<form name="myForm">
<input name="myTextA" type="text" onKeyUp="copyIt(this,myTextB)">
<input name="myTextB" type="text" onKeyUp="copyIt(this,myTextA)">
</form>
</body>
</html>