autocomplete/sortable conflict
I'm very new to javascript and jQuery and not certain this is even the right place to post this question, but here goes...
I'm using the QCubed framework (branch of QCodo) and have built a form that uses sortable to sort a list and also autocomplete, but autocomplete is on a control that is not included in the sortable ul. When I include autocomplete, I get an error on sortable:
$("#c33 ul").sortable is not a function.
This is the script for sortable:
</form><script type="text/javascript">qc.registerForm(); qc.imageAssets = "/htw/assets/_core/images"; qc.cssAssets = "/htw/assets/_core/css"; qc.phpAssets = "/htw/assets/_core/php"; qc.jsAssets = "/htw/assets/_core/js"; qc.regCA(new Array("c2","c3","c4","c11","c13","c15","c16","c17","c20","c21","c24","c26","c27","c28","c29","c31","c33","c35","c36","c37","c38","c39","c40","c41","c42","c43","c44","c45","c46","c47","c48","c49","c50","c51","c52","c53","c54","c55","c56","c57","c58","c59","c60","c61","c62","c63","c64","c65","c66","c67","c68","c69","c70","c71","c72","c73","c74","c75","c76","c77","c78","c79","c80","c81","c82","c83","c84","c85","c86","c87","c88","c89","c90","c91","c92","c93","c94","c95","c96","c97","c98","c99","c100","c101","c102","c103","c104","c105","c106","c107","c108","c109","c110","c111","c112","c113","c114","c115","c116","c117","c118","c119","c120","c121","c122","c123","c124","c125","c126","c127","c128","c129","c130","c131","c132","c133","c134","c135","c136","c137","c138","c139","c140","c141","c142","c143","c144","c145","c146","c147","c148","c149","c150","c151","c152","c153","c154","c155","c156","c157","c158","c159","c160","c161","c162","c163","c164","c165","c166","c167","c168","c169","c170","c171","c172","c173","c174","c176","c177","c178")); jQuery(document).ready(function($) {
86
$('#c33 ol').sortable({handle: '.sortablehandle', cursor: 'progress',
87
placeholder: 'sortPlaceholder',
88
update: function(event, ui) {
90
var strLiId = ui.item.attr('id');
91
strLiId = strLiId.substr(0, strLiId.length - 3);
93
var strIndex = $(this).children('li').index(ui.item);
94
qc.pA('MasterprocesshdrsEditForm', 'c34', 'QMoveEvent', strLiId + '|' + strIndex, 'c14');
98
}); </script>
The error is on the ready function. Can someone give please offer me some guidance on why I cannot have autocomplete and sortable in the same form, or better yet a way to fix it?
Thanks in advance,
LaCeja