|
-
May 6th, 2001, 05:16 PM
#1
Converting JSP variable to ASP?
Can anyone tell me how to convert a javascript variable value to ASP variable?
In JSP I have:
<script language="JavaScript">
function sublist(inform, selecteditem) {
.
.
.
var number = document.subad.number.value
'And now I need to do some database stuff and the "number" value in ASP.
.
.
.
<%
numberASP = ???
Set R = objDB.Execute("SELECT * FROM db WHERE number = " & numberASP)
.
.
.
%>
.
.
.
}
</script>
Or is there an other way to do that database query? Can I use JSP variable in ASP code? How?
Hope you get the point .
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
|