Hi everybody. I am using prototype js and scriptaculous sortable but when i do an oncomplete alert or anything, it does not work Here is mycode
<script> Event.observe(window,'load',init,false); function init() { Sortable.create('listContainer',{tag:'div',onUpdate:updateList}); } function updateList(container) { var url = 'ajax.php'; var params = Sortable.serialize(container.id); var ajax = new Ajax.Request(url,{ method: 'post', parameters: params, onLoading: function(){$('workingMsg').show()}, onLoaded: function(){$('workingMsg').hide()}, onComplete: function(){ alert('good'); } }); } function handleResponse(req) { // this function will fire after the ajax request is complete...but we have nothing to do here } </script> Everything works perfectly when i launch the function except the fact that onComplete the alert is not sent. How to fix that ? -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scriptaculous+unsubscr...@googlegroups.com. To post to this group, send email to prototype-scriptaculous@googlegroups.com. Visit this group at https://groups.google.com/group/prototype-scriptaculous. For more options, visit https://groups.google.com/d/optout.