How to Dynamically insert JavaScript into a Page Header

Discussion in 'ASP .Net' started by MS News \(MS LVP\), Aug 7, 2003.

  1. Hello,

    From a user control what is the best way ( other than static ) to insert
    JavaScript include in the Head of an HTML page

    <head>
    <script language='javascript' src="myPamela.js"></script>
    </head>

    I have no control of the Main page where the <Head> tag is
    Can I stick the above Tag into a my usercontrol instead or does it have to
    be in the HEAD tag?
    what problems are there?
    thank you in advance.

    J
    MS News \(MS LVP\), Aug 7, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rick Spiewak
    Replies:
    5
    Views:
    789
    Lewis Wang [MSFT]
    Aug 1, 2003
  2. Sergey Morkovkin
    Replies:
    5
    Views:
    17,279
    gamcfarlane
    Jul 14, 2009
  3. mlt
    Replies:
    2
    Views:
    810
    Jean-Marc Bourguet
    Jan 31, 2009
  4. Replies:
    6
    Views:
    1,200
    David Thompson
    Dec 14, 2010
  5. Sergio del Amo
    Replies:
    4
    Views:
    227
Loading...

Share This Page