Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML and Postback issue

0 views
Skip to first unread message

Erik Lautier

unread,
Aug 21, 2007, 6:18:50 PM8/21/07
to
Hi,

I've got a dynamically generated dropdownlist of sizes, which, when
selected, shows current inventory for that size. I originally just
called to the server when the size was changed to display inventory,
but I wanted it to happen more seamlessly, so I wrote the data to an
XML file when the overall product page was visited and accessed it
that way...the problem is that it's still posting back to get the XML
data. What's I'm looking for is a way to do this without calling back
to the server at all. Any ideas?

Thanks,

Erik

John Timney (MVP)

unread,
Aug 21, 2007, 6:39:19 PM8/21/07
to
You could convert it to a client side data island and access the data
locally

http://www.w3schools.com/xml/xml_data_island.asp

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


"Erik Lautier" <lau...@gmail.com> wrote in message
news:1187734730....@i13g2000prf.googlegroups.com...

Erik Lautier

unread,
Aug 22, 2007, 12:46:52 AM8/22/07
to
Thanks John, I had a look at the link. Is it possible to pull one
cell at a time from the island? While I'd be pulling the shirt size
and quantity into the XML which would generate a table six rows tall
by two columns wide, I'd only need to pull the quantity for one size
at a time.

Also, will this not work in Firefox?

Erik


On Aug 21, 6:39 pm, "John Timney \(MVP\)"


<x_j...@timney.eclipse.co.uk> wrote:
> You could convert it to a client side data island and access the data
> locally
>
> http://www.w3schools.com/xml/xml_data_island.asp
>
> Regards
>
> John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog
>

> "ErikLautier" <laut...@gmail.com> wrote in message

John Timney (MVP)

unread,
Aug 22, 2007, 6:00:18 PM8/22/07
to
take a look at the xml parsing example - its probably better suited to what
your seeking. Specifically the Parsing an XML String - A Cross browser
Example section.

http://www.w3schools.com/xml/xml_parser.asp

Regards


"Erik Lautier" <lau...@gmail.com> wrote in message

news:1187758012.9...@j4g2000prf.googlegroups.com...

0 new messages