![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a javascript variable assigned on an asp page. I want to use that variable in a querystring assigned to a button with the onclick event. How do i do this? If it was a vbscript variable I would do it this way: onClick="MM_openBrWindow('../../customer/address_lookup.asp?custid=<%= custid%>')". But I have a javascript variable called custid. Any help would be appreciated. Thanks! |
| |
#3
| |||
| |||
|
|
Darren Woodbrey a écrit : I have a javascript variable assigned on an asp page. I want to use that variable in a querystring assigned to a button with the onclick event. How do i do this? If it was a vbscript variable I would do it this way: onClick="MM_openBrWindow('../../customer/address_lookup.asp?custid=<%= custid%>')". But I have a javascript variable called custid. Any help would be appreciated. Thanks! in javascript : onClick="MM_openBrWindow('../../customer/address_lookup.asp?custid=" + custid + "')"; GR Thanks for the reply: |
![]() |
| Thread Tools | |
| Display Modes | |
| |