[thelist] AJAX: Getting External Content by DIV?

Anthony Baratta anthony at baratta.com
Thu May 31 14:42:31 CDT 2007

What you should do is re-organize your pages. Make the DIV content an include or separate it some how so that you can grab it via AJAX and grab it for any stand alone pages that need the same content.

That way you don't have to parse the whole page looking for the content you want to grab for the AJAX'd page.

A little up front work will make your job easier in the long run.

-----Original message-----
From: "Jon Hughes" hughesj at firemtn.com
Date: Thu, 31 May 2007 11:59:31 -0700
To: thelist at lists.evolt.org
Subject: [thelist] AJAX: Getting External Content by DIV?

> Basically, I have a page of products with a small snippet of the
> description and a thumbnail. When I mouse-over the thumbnail, I want to
> pull the FULL description, and the larger image of the product from the
> details page. The description and the image are both held in div's.
> I found this page here:
> http://www.dynamicdrive.com/dynamicindex...
> But I need to pull only the div's from the page, and not the whole page.
> Does anyone know of a resource that does this, or can help me through
> this?
> Thank you

More information about the thelist mailing list