Hi all once again and thanks for the M2M ordering solution provided... Yes, I'm using jquery. Now I would like to ask one thing about Ajax.
I have a page with multiple projects. Each project is displayed in a nice widget containing common info about the project such as author, category, votes count, title etc. Each project has its own project_id. And now, attention. I have added the button Vote into the every widget which will allow to vote for the project. So I have a lot of buttons. After some button was clicked, I must to execute an Ajax request using corresponding project_id. Then when the server retrieved the ajax call, it tries to add vote for the project into the model and after successful response disable the Vote button. As I described, I'm using many Vote buttons, so I think of $.get Ajax calls instead of $.post because then it is hard to add a lot of ajax functions for each form id. So the only one function for executing get ajax call considered. Am I right? I'm trying things to be done, but somethins is wrong. Just explain me the conception of GET or POST ajax methods in case of having to execute multiple Ajax calls on a single page. Kostia -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.