Also you may want to namespace your elements (like <div my:title=""></div>)
as sometimes setting attributes for elements that have attributes can cause
issues. Like setting a value attribute for a <li> caused issues for us in IE
6 when the value was non-numeric

-Jonathan


On Dec 11, 2007 1:03 PM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:

>
> Mario Moura schrieb:
> > Hi All
> >
> > I am working in Jquery Forms
> > http://malsup.com/jquery/form/#getting-started
> >
> > [...]
> > So What I did is get with $(data).attr("id") the value of $id
> >
> > You can create how many itens you need in your php file and
> > deserialized the response
> >
> > $(data).attr("title")
> > $(data).attr("image")
> >
> > you can use xml, json but I think text is fast.
> I guess parsing xml or json once and is rather faster then creating a
> DOM element out of the reponse, then selecting attributes from it. Your
> approach can be useful when you lack control over the serverside, but
> otherwise I'd choose a more appropiate format.
>
> Jörn
>

Reply via email to