Laravel 4 - change order of items

ぐ巨炮叔叔 提交于 2019-12-12 04:06:51

问题


I have two tables fichasand actividads related in a pivot table called actividad_ficha. In this pivot table I've created another column called orden_actividad(to short the 'activities' in every 'ficha').

I have a View where I show all the 'activities' related with one specific 'ficha'. I would like to be able to drag-and-drop my list of 'actividads' and save the new order automatically. I'm using some jQuery in my application, but AJAX resists to me.

Do you know how can I get it? or maybe you know some tutorial to bring me some help?

来源:https://stackoverflow.com/questions/25020122/laravel-4-change-order-of-items

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!