Results 1 to 3 of 3

Thread: how can i make this javascript code refresh this div ?

  1. #1
    Join Date
    Jun 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how can i make this javascript code refresh this div ?

    hi every body
    please help me to refresh my div's content :

    the codes :
    javascript : -


    thank you
    Last edited by sofian; 06-26-2011 at 03:34 AM.

  2. #2
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    i took the conclusion of your problem, so you want to refresh part of the page not the whole, right?
    That's why the title of your question here is about "<div>content</div>"

    Have try Iframe?
    Code:
    <iframe align="left" frameborder="0" src="content/starters-1.html" width="980" height="480" scrolling="no" allowtransparency="true" style="margin-left:15px; margin-top:0px; background:url(images/transparent.png);"></iframe>
    So all of your if javascript validation put that in one page, and call it from iframe.
    if the refresh part is the iframe, there's no problem with the whole page right?
    Beside, i don't thing <div></div> can do that.
    I'm not really sure, may be there's another senior can help here.
    _____________________

    David Demetrius // davejob
    _____________________

  3. #3
    Join Date
    Jun 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you davelf for your help and reply .

    yes i want refresh part of the page .
    in fact i have asocialnetwork like facebook with stream and comments .
    every stream has its comments ... if user is on the bottom of the page after 80 posts of the stream and he refresh the page he will lose the place that he was on .

    i dont think that iframe help me with this .

    again : thank you too .

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
  •