[Seaside] dynamic selection - liveCallback question

Ramon Leon ramonleon at cox.net
Sat Jul 2 19:34:25 CEST 2005


Avi Bryant wrote:
> On Jul 2, 2005, at 4:15 PM, Michel Bany wrote:
> 
>>
>> I  did the tweaking of the javascript, and it seems to work just fine.
>> The result is interesting when you see many different areas of a  page 
>> being updated with just
>> a single key stroke. It also solves the problem where too much html  
>> is replaced with the
>> current version of the javascript.
>>
>> The tweaking was not small since it needs an XML parser to properly  
>> extract all the pieces
>> individually in all possible situations.
>> I selected the XML parser from David A. Lindquist that I found at
>> http://www.gazingus.org/html/XML_Parser_in_JavaScript.html
>> with a couple of slight changes.
> 
> 
> Doesn't XmlHttpRequest support viewing the response as an XML DOM  
> rather than as text?  Is there any need for a separate parser?
> 
> Avi
> _______________________________________________

Yes, all major browsers have a client side DOM, there is no need to 
write one in javascript.


More information about the Seaside mailing list