Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Token in SRC element

  1. #1
    Jordan is offline Member
    Join Date
    Feb 2006
    Posts
    42

    Default Token in SRC element

    This doesn't work:

    <script runat="server" type="text/javascript" src="/App_Templates/Skin_<%$ Tokens:SKINID %>/GetInventory.js"></script>

    but I'm at a bit of a loss with v9 how to get a skinID token into the src element on the master.template file.



    Anyone have experience with this?
    ________
    Live sex
    Last edited by Jordan; 08-13-2011 at 08:23 AM.

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Why do you just place the GetInventory.js file into {root}/jscripts folder and call it like this?

    Code:
    <script type="text/javascript" src="jscalendar/GetInventory.js"></script>