> BUT i am confused where should I put the submit_sort? > Creat a new js file? or PUT them in the index.thtml? > I was created a new function in my controlloer called submit_sort( ), > and paste your code. It was wrongl
I put in my view (note the wrapping <script>) It is plain Javascript. There might be more elegant ways to do it, or more generic, but basically thats it. Use Firefox for development, there is a very nice extension called firebug, which shows headers and responses to ajax-calls, amongst others... greets, f. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
