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