Re: Can I call an Anchor tag or open a URL from code

Discussion in 'HTML' started by Jacqui or (maybe) Pete, Jul 3, 2003.

  1. In article <B9BMa.41116$G6.31865@lakeread04>, says...
    > I have a simple html/asp3.0(vbscript) document that has an anchor tag
    > containing another URL. Instead of waiting for the user to click on the tag
    > when the page is open, I would like to execute the tag(or call the URL) from
    > code at my choosing or based on some other event. Can anyone help me with
    > this.
    >

    Add this to your head section:

    <META HTTP-EQUIV=Refresh CONTENT="10; URL=http://example.com/p.html">

    Won't work for everyone, but that's not really a problem in your case.

    Details on the meta element:

    http://www.w3.org/TR/REC-html40/struct/global.html#edef-META
    Jacqui or (maybe) Pete, Jul 3, 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. Sunny

    Anchor <a name=... > tag

    Sunny, Jul 1, 2004, in forum: ASP .Net
    Replies:
    8
    Views:
    514
    Sunny
    Jul 2, 2004
  2. Jeff Jarrell
    Replies:
    0
    Views:
    538
    Jeff Jarrell
    Oct 26, 2005
  3. shruds
    Replies:
    1
    Views:
    747
    John C. Bollinger
    Jan 27, 2006
  4. eivind

    div tag and anchor tag

    eivind, Jan 5, 2004, in forum: Javascript
    Replies:
    1
    Views:
    121
    eivind
    Jan 15, 2004
  5. john woo
    Replies:
    1
    Views:
    141
    David Dorward
    Jun 29, 2005
Loading...

Share This Page