Dave Methvin schrieb: >>> I think that should be filed as a bug. Calling end() too much should >>> degrade gracefully and not result in an error. >> http://jquery.com/dev/bugs/bug/361/ > > This seems like it masks a programmer error. If .end() is supposed to pop > the stack and the stack is empty, it would be better to alert("unmatched > call to .end()") so the problem could be fixed. Or am I missing a situation > where this could be useful?
Dave, you are right. In any case, it's better to not having a javascript error on the page, but an alert makes sense to me. I'm doing such a thing with the tabs as well. -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
