JavaScript Varibale Question in Forms

wxdqz

New Member
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?
 
Back
Top