www.webdeveloper.com
Results 1 to 5 of 5

Thread: Just update selected divs

  1. #1
    Join Date
    Nov 2009
    Posts
    9

    Question Just update selected divs

    Hi!

    Is there a way (ajax/jquery) to update just selected divs?

    Check the image.

    Div 1, 3 and 4 wont never need to update.

    Div 2 and 6 are the ones who should update when click on a link.
    When update, they will collect different pages depending on link using SSI.

    Div 5 and 7 will have autoupdate.

    I'm looking for something like facebook. If you click a link, top menu or chat won't reload.
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2009
    Posts
    9
    Forgot! Div 2 is meant to be the "main" page. Div 6 will just update same SSI.

  3. #3
    Join Date
    Oct 2003
    Location
    Andover, UK
    Posts
    945
    What do you mean 'selected' divs? A class?

  4. #4
    Join Date
    Nov 2009
    Posts
    9
    I mean all divs are class="div1" class="div2" and so on.
    If I have a menu in class="div3" then class="2" should update and collect data from another file.

    Like this:
    In div 3 there is a menu, and if I click "cars" then div 2 should get data from #include file="cars.asp"
    At the same time, div 6 will refresh with #include="div6.asp"

    If I click "bikes" (in menu in div 3) then div 2 should get data from #include file="bikes.asp"
    At the same time, div 6 will refresh with #include="div6.asp"

    Like a target to a div instead of iframe.
    Isn't that something like facebook?

  5. #5
    Join Date
    Nov 2009
    Posts
    9
    How has Facebook solved with just update center of their site?
    If you chat with someone and click on a link, chatwindows will not update. Just the center of the page?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles