Re: best way to format serialized data?

2009-07-28 Thread DaleB
Thanks for you answer Alex. I'll definitely give your suggestions a go. As i said, i am pretty new to ajax but i surely see your point. So far i found a solution along the lines of this example: http://www.nerdydork.com/django-djson-er-json.html I iterated over my data, put the reformatted data

Re: best way to format serialized data?

2009-07-28 Thread Alex Robbins
I'm not sure if this answers your question, but... I have had better luck using the jQuery.load [1] function. It takes an html response and just jams it into the dom. That way I can do all of the templating and formatting on the server side. The idea of writing "" and the like never seemed very ma

best way to format serialized data?

2009-07-27 Thread DaleB
hi all, i am just experimenting with ajax following the liveblog-example from 'python web development with django' (http://withdjango.com/). everything works really good apart from the fact the i don't manage to format the serialized data, that is returned by the ajax call: jQuery.each(data, fu