Results 1 to 2 of 2

Thread: how to refresh a page in javascript at each second

  1. #1
    Join Date
    Jan 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to refresh a page in javascript at each second

    hi
    i am new to javascript,
    how i refresh the counter in javascript without the page refresh,
    plz help me,
    i need this for an event,a function would be called if the db time is equal to the current time of the server,i got both the times but now howi generate this plz help. . . . . . . . . . . . .

  2. #2
    Join Date
    Mar 2007
    Posts
    68
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    How about asking that in the javascript section instead of the PHP section? :P
    Personally I'd suggest making a DIV with a class/id that you can change the contents of via javascript (google that). That way you can update what's in the DIV without refreshing the page.

Bookmarks

Posting Permissions

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