Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    client side time ticker which call tick event without posting page

    hi friends

    I am designing a common room real time chat disscussion using ajax
    I have two div tags
    one for common massages
    and other one for people in disscussion

    I used asynchronous callback functions to papulate two div tags

    what i want is i should have javascript time ticker
    which after a specific time interval should fire callback function
    so that div tags may be papulated on every timer tick
    it shold be asynchronous call and whole page should not post

    thanx in advance

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    And what are you having trouble with. No one will write your code for you. You using setTimeout or setInterval?

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

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