When using sortable on tabs there is a bug when calling tabs('remove', index) : a wrong tab is removed instead of the one at the given index.
To check this, merge the "Sortable" and "Simple manipulation" demos. Add some tabs then rearrange them a couple of times. Delete the second tab starting from left and it remains there while another tab gets deleted.
It looks like the tab order is kept into an internal array that is not affected by the sortable effect.
Is there a workaround to this before the next version as I'm now locked with this bug?
I have a problem with a page that uses intensive jQuery code.
After a little while, IE 8 uses up to 90% of the CPU and the PC is getting very slow.
Refreshing the page solves the problem, so I'm pretty sure something goes wrong with my jQuery code.
As this page binds and uses many events (onclick, onkeypress, onchange, etc), I'm wondering if there is a dead loop somewhere in the event chain, but this is pretty hard to debug as I can't find a way to reproduce the problem which happens randomly.
So I'm wondering if there is a way to trace all bound events and log them to Firebug console, even the events that I don't bind myself. That way I could see if there is a huge event log when the CPU load gets high.
Hi, When a DatePicker is attached to a javascript generated input field, the DatePicker crashes when the user click on the input field the 2nd time after reloading the content. Here is a sample code to reproduce (explanation follow): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script type="text/javascript" src="jquery-1.3.2.js"></script> <script type="text/javascript" src="jquery-ui-1.7.1.custom.js"></ script> <script type="text/javascript"> $(function() { refresh(false); }); function refresh(destroy) { if (destroy) $("#datepicker").datepicker('destroy'); $('body').html('<input type="text" id="datepicker"><br /><a href="javascript:refresh(true)">refresh content</a>'); $("#datepicker").datepicker(); } </script> </head> <body> </body> </html> To reproduce the crash: 1. Click the input field, the DatePicker shows 2. Click on the page area to hide the DatePicker 3. Click the "refresh content" button 4. Click the input field again, the DatePicker crashes with an exception thrown: Uncaught Error: INVALID_NODE_TYPE_ERR: DOM Range Exception 2 in jquery-1.3.2.js (line 2118) This sample code simply shows the problem I have with DatePicker bound to dynamic form fields loaded with Ajax.