Hello All.

i am usgin jquery ui tab system.

when i remove a tab i got this error :

elem.parentNode is null
siblings: function(elem){return
jQuery....ing(elem.parentNode.firstChild,elem);},\n


What is the problem.

My code is :

$(".ui-tabs-nav").parent().children("ul").children("li").children("a[href='#"+tab_id+"']").parent().remove();

it removes my <li> but also gives this error. I could not understand why. i
have removed inside <li> firstly. i am not gettig any error. removing class,
add id .. . no problem.
but when i call "remove" func. for <li> i got error above.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to