View Full Version : javascript help
hungrylilboy
06-26-2006, 08:39 PM
..
tesco
06-26-2006, 09:48 PM
Not sure what you mean, If it's going to a new page why not just use <a href=""></a> ?
crassy
06-29-2006, 12:21 AM
I presume the easiest way would be to have a script reading whats in the text boxes?
Thanks
Well, I don't really understand what you are trying to do, but when it comes to reading text in textboxes, here goes:
Read values by using:
<script Language="JavaScript">
<!--
function read()
{
alert(document.form_name.text_name.value);
}
-->
</script>
for this form:
<form name="form_name" method="get" onsubmit="javascript:read();">
<input type="text" name="text_name">
<input type="submit" value="Submit">
</form>
webshocker
07-14-2006, 11:31 AM
Assign ids to the text boxes and then post the values to the linked page - grab the values in the linked page and show them as you want.
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.