Results 1 to 2 of 2

Thread: What is the best way to refresh a realtime chart or quote in html?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2013
    Posts
    1

    What is the best way to refresh a realtime chart or quote in html?

    I have a kitco.com chart on my webpage. I would like to make it autorefresh every 30 seconds to a minute. What is the best way I can do this?

    so far this is what I used in <head></head>. Is this optimal?

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="refresh" content="30" />

    I noticed other pages, that use data from the same website (kitco.com) and most have advanced setups. My entire page reloads with my technique. Is there a way, to refresh just the chart instead of the whole page without using frames?
    Any snippets or tutorial links are welcome!

  2. #2
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: What is the best way to refresh a realtime chart or quote in html?

    Are you using jQuery or similar, or are you just embedding an image inside a <img> tag?
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width