PDA

View Full Version : Values in text boxes


Jay Vincent
02-17-2003, 08:52 PM
Hi everybody,

What I want to be able to do is determine the value that is in a text box by the URL. So if the URL was something like...

http://www.website.com?value=hello

Then the text box would display the value hello. Sorry I can't explain it any better, any help will be appreciated.

Thank you,

Jay Vincent

A1ien51
02-17-2003, 10:18 PM
<script>

function CheckIt(){
A=Self.location.split("=");
if(A[1])document.FormName.ElementName.value=A[1];
}
window.onload="CheckIt()"
</script>