Print Page | Close Window

Get form value

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=9128
Printed Date: 31 March 2026 at 3:01am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Get form value
Posted By: Phat
Subject: Get form value
Date Posted: 21 January 2004 at 11:47pm
Hi guys

how do you get the value of a form field to pass to an asp page with an onclick event.

<a href="/options-asp/check_username.asp?username=This is what i need from the form " target=""popUpWin"" onclick="popUpWin(this.href,'console',500,580);return false;" title="Check your username">Click here to check your username</a>

This will open a new window and the old window will not change.

Cheers




Replies:
Posted By: Bluefrog
Date Posted: 22 January 2004 at 11:09am
The "href" and the "onclick" don't mesh well. Choose one or the other and work with that. You don't need an anchor if you are using the onclick event. Rework your javascript to incorporate what you need. Pass it through there.

-------------
http://renegademinds.com/" rel="nofollow - Renegade Minds - Guitar Software http://renegademinds.com/Default.aspx?tabid=65" rel="nofollow - Slow Down Music



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net