Javascript <%= VariableName%>

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Spanco
    New Member
    • Mar 2007
    • 13

    Javascript <%= VariableName%>

    Hi all ,

    In my application Some values are comming from codebehind page with the help of <%= %> like

    var sServerName='<% = ServerName %>'

    and i pass this sServerName as a Header during callback.so the problem is the the sServerName is not evaluated and passes as it is like '<%= ServerName%>'

    i want its value ..
    please help me
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #2
    Originally posted by Spanco
    Hi all ,

    In my application Some values are comming from codebehind page with the help of <%= %> like

    var sServerName='<% = ServerName %>'

    and i pass this sServerName as a Header during callback.so the problem is the the sServerName is not evaluated and passes as it is like '<%= ServerName%>'

    i want its value ..
    please help me
    What do you mean by code behind page?
    Are you making call AJAX?
    And ultimately I didn't find what you want.
    Please clarify it.

    Kind regards,
    Dmjpro.

    Comment

    Working...