| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
||||
|
||||
|
Add parameter to URL
<HTML>
<HEAD></HEAD> <SCRIPT LANGUAGE=JAVASCRIPT> <!-- function Validator(lURL) { var oform = document.form1 var qsparm = oform.TB1.value if (qsparm == "") { alert("You must provide a value") oform.TB1.focus() return false } document.location.href = lURL + "?" + escape(qsparm) return false } //--> </SCRIPT> <BODY> <FORM NAME="form1"> <STRONG> QueryString Parameter: <INPUT TYPE="TEXT" NAME="TB1"> </STRONG> <BR><BR> <A HREF="" onClick="return Validator('YourURL.asp')">Click me to continue </A> </FORM> </BODY> </HTML> |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Add parameter to URL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|