|
-
December 12th, 2002, 11:41 AM
#1
JavaScript String Variable Question
I'm trying to use a Javascript Form to launch another web page, but the web address that it launches will change based on info on screen with the form. I have the address that I want to go to stored as a String in a variable, but I can't get that variable to be recognized as a String in the "action" part of the form. It just takes the variable name and tries to use that as the address rather than the value stored at that variable.
Example:
<form name="players" method="post" action = theString>
Does anyone know how to make the link go to the theString variable's String value as a Web Address in this situation?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|