runing javascript

Discussion in 'ASP .Net' started by =?Utf-8?B?cm9kY2hhcg==?=, Sep 11, 2006.

  1. hey all,
    how do you run a section of javascript everytime the page loads?

    thanks,
    rodchar
    =?Utf-8?B?cm9kY2hhcg==?=, Sep 11, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?cm9kY2hhcg==?=

    Mark Rae Guest

    "rodchar" <> wrote in message
    news:...

    > hey all,
    > how do you run a section of javascript everytime the page loads?


    Er...

    <html>
    <head>

    </head>

    <body>
    <script>
    alert('This runs every time the page loads');
    </script>
    </body>
    </html>
    Mark Rae, Sep 11, 2006
    #2
    1. Advertising

  3. thanks for the help.

    "Mark Rae" wrote:

    > "rodchar" <> wrote in message
    > news:...
    >
    > > hey all,
    > > how do you run a section of javascript everytime the page loads?

    >
    > Er...
    >
    > <html>
    > <head>
    >
    > </head>
    >
    > <body>
    > <script>
    > alert('This runs every time the page loads');
    > </script>
    > </body>
    > </html>
    >
    >
    >
    =?Utf-8?B?cm9kY2hhcg==?=, Sep 12, 2006
    #3
    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. Nikolay Petrov

    Runing Client-side code

    Nikolay Petrov, Mar 22, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    601
    Jason Mauss
    Mar 24, 2005
  2. Replies:
    1
    Views:
    475
    Larry
    Mar 7, 2006
  3. Thomas
    Replies:
    2
    Views:
    1,863
    Peter van Merkerk
    Sep 2, 2003
  4. Peng Yu
    Replies:
    7
    Views:
    359
    Anoop Aryal
    Mar 29, 2005
  5. John Morrill

    JQuery and javascript not runing in the head tag

    John Morrill, Jun 28, 2010, in forum: ASP General
    Replies:
    3
    Views:
    1,143
    Dooza
    Jun 29, 2010
Loading...

Share This Page