Refreshing part of a page periodically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ravisuguna
    New Member
    • Dec 2007
    • 15

    #1

    Refreshing part of a page periodically

    Hi,
    I am new to ajax.I have a file in php which is a report. I want a certain portion of the report to be refreshed every 3 seconds.How can we refresh a part of page
    using ajax.I also want to know the usage of setTimeout method.Pl.help me

    Thanks in advance,

    Suguna
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    hi ...

    welcome to TSDN ...

    have a look here for a short ajax-example ...

    and here for the setTimeout() method ... and the setInterval() method

    kind regards

    Comment

    • ravisuguna
      New Member
      • Dec 2007
      • 15

      #3
      Refreshing a dynamic table using ajax

      Hi,
      I am new to ajax.I have a dynamic table in div .I want to refresh the table after every 3 seconds.Pl help me.

      Suguna

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Threads merged.

        What problems have you got with your code. Have you tried out the links given by gits?

        Comment

        • ravisuguna
          New Member
          • Dec 2007
          • 15

          #5
          Hi,

          Thanks for helping me gits and acoder.Now my codings work well.

          suguna

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            Glad you got it working. Post again if you have any more queries.

            Comment

            Working...