DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Variable substitution

  1. #1
    rkbnair Guest

    Variable substitution


    I have the following link working fine.
    <param name=menu1i2url value="information.html">

    Suppose the "information.html" is contained in a session variable what will
    be the syntax to have the same link working?

    Session("MyLink") = "information.html"

    Thanks.


  2. #2
    Dan Guest

    Re: Variable substitution


    Use the <%= %> notation, which is a shortcut for <% response.write() %>.
    It's a great way to embed variables straight into your HTML code.

    <param name=menu1i2url value="<%= Session("MyLink") %>">

    >
    >I have the following link working fine.
    ><param name=menu1i2url value="information.html">
    >
    >Suppose the "information.html" is contained in a session variable what will
    >be the syntax to have the same link working?
    >
    >Session("MyLink") = "information.html"



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center