Welcome Guest, Not a member yet? Register   Sign In
Save a re-ordered list with Jquery Sortable to DB [SOLVED]
#13

[eluser]Ludovic-r[/eluser]
Okay! I found the problem :

It works perfectly when you put the JS Script in the Header (with DB, controller and so on...) BUT in my case I put the js in a file called main.js so I don't use the $(document).ready(function () {...}); and because of that it doesn't work!

Have you a trick to use the JS script in a separated file (main.js for me) or use the $(document).ready(function () {...}); in this one? I can't put the "sortable" function in my header!

Otherwise I would like to thank you sooooo much for your time that's really really helpful!

You're the man!


Messages In This Thread
Save a re-ordered list with Jquery Sortable to DB [SOLVED] - by El Forum - 12-10-2010, 04:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB