here is the code i am using,

<html>
<head>
<script type="text/javascript">
function University()
{
var mylist=document.getElementById("myList");
document.getElementById("favorite").value=mylist.options[mylist.selectedIndex].text;
}
</script>
</head>

<body>
<form>
Select your University:
<select id="myList" onchange="University()">
  <option>Brunel</option>
  <option>Kingston</option>
  <option>Kent</option>
</select>
<div id="Layer1" style="position:absolute; left:368px; top:175px; width:257px; height:100px; z-index:1">Your University: <input type="text" id="favorite" size="20"></div>
</form>
</body>

i want the 'select your uni' to be on page1.htm and the second part 'your university' = the result to be on page2.htm, how do i go about this please.

You could post the information to page2, so you need to have form tags around the your university input field, also a button to submit the form

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.