Jqeury Sortable - Odd results
Sortable all of the sudden stop triggering update and change, but stop still works. FF3.6. Did have 4 may not have fully uninstalled as it had issues with jqeury in some regards.
However...
Why does it do this?
PHP Code:
- <div id="sortable"><ul>' . $output . '</ul></div>
Is changed to (By selecting a section and then view selection source in FF):
<div id="sortable"><ul><ul style="list-style: none outside none;">OUTPUT</ul></ul></div>
If I try:
- <ul id="sortable"></ul>
But decides to move the entire list as one. But doing the above, with or without the UL tag in the code sorts?
And now out of the blue, stopped returning the sort values.
- $("#sortable li").sortable({
- stop: function() {
- var getSortOrder = $("#sortable li").sortable('serialize');
- alert(getSortOrder+'&action='+a+'&sub=order');
- }
- });
Alerts '&action='+a+'&sub=order'
I have tried all possible combination's and methods people 'suggest' or use. I had it working, then bam, stopped. Just strange it does the sorting, but no info returned.
Example of list created:
- <li class="ui-sortable" id="field_4076">DETAILS</li>
- <li class="ui-sortable" id="field_4077">DETAILS</li>
Jquery add's that CSS too.
Will attempt to remove all FF versions and reinstall to see if there is any conflict.
What baffles me most is the double UL tag, and not in my code like that either.