|
-
Jul 10th, 2005, 01:38 PM
#1
Thread Starter
Addicted Member
get value from drop box??
How do I simply pass the value of a dropbox in a query string:
ie:
Dropbox name: TAccomName
This is the find button:
<input type="button" onClick="location.href='resxaccomEdit.asp?intAccomID=<%=TAccomName%>'" value="Find" name="Find">
-
Jul 10th, 2005, 10:27 PM
#2
Re: get value from drop box??
how about just making a separate javascript function
and access the dropdown value
by document.aform.elements(TAccomName).value
-
Jul 11th, 2005, 03:45 AM
#3
Re: get value from drop box??
Specifically,
Code:
<script language="javascript">
function goToLocation()
{
document.location.href = 'resxaccomEdit.asp?intAccomId=' + document.aform.elements(TAccomName).value
}
<input type="button" onClick="javascript:goToLocation();" value="Find" name="Find">
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
|