|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2000
Location: Chico, Ca
Posts: 1,128
|
VB.Net Variables in Javascript
I am trying to use vb.Net vaiables in Javascript but I am having problems with it.
Here is my Code: PHP Code:
When I put the variable in the HTML Anchor tag, it just flat doesn't work. When I put the variable in a webcontrol it parses it out, but doesn't put the content of the variable in it's place. Does anyone have a solution to this problem? Thanks Chuck |
|
|
|
|
|
#2 |
|
SitePoint Wizard
![]() Join Date: Sep 2002
Location: Cleveland, Ohio, USA
Posts: 1,488
|
Use <%= strDescript %>
|
|
|
|
|
|
#3 |
|
SitePoint Enthusiast
![]() Join Date: Oct 2002
Location: Meath, Ireland
Posts: 30
|
<%# ... %> is only used for databinding. Otherwise, if you need to, use <%= ... %> to get the value of a simple variable.
|
|
|
|
|
|
#4 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2000
Location: Chico, Ca
Posts: 1,128
|
Thanks ! I knew it was something simple.
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 12:59.










Linear Mode
