jQuery UI Widgets › Forums › Navigation › Tabs › LI id's are gone
Tagged: Angular tabs, hide tab, id, jQuery Tabs, jqxTabs, li, list item, tab, tab header, Tabs
This topic contains 11 replies, has 3 voices, and was last updated by Dimitar 7 years, 9 months ago.
-
AuthorLI id's are gone Posts
-
Hi,
When I use the JQXTabs I name my LI’s so I can show and hide them.
-
<li id=”li_first”>First
<li id=”li_second”>SecondThis worked until 4.1.2, but since I updated to 4.2.1 the ID’s are gone.
Hi muis,
We were not able to reproduce this issue with version 4.2.1. Here is the example we tested: https://www.jseditor.io/?key=jqxtabs-with-li-ids.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/In javascript:
After jqxtabs call e.g.:
$(‘#li_first’).hide();
Doesnt work because the first li has been renamed by jqxtabs. That is new behavior.
Hi muis,
Your requirement works fine in the following example: https://www.jseditor.io/?key=jqxtabs-hide-tab-by-id.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/I updated from 4.1.1 to 4.3.0 today and this exact behavior popped up immediately. Prior updating, I could reference tabs by the ID I gave them. After updating, attempting to reference tabs by the ID I gave them caused an exception in jqxcore at line 4218, column 25, with an invalid selector.
Upon further research, I’ve discovered a difference between the minified code and source code. The difference is a check to see if the ‘id’ attribute exists or not.
Hi Pfhoenix,
Please update to the latest version of jQWidgets (4.4.0) and any related issues should be gone.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/As I wrote to your support e-mail address, version 4.4.0 suffers the same exact problem as what I described with 4.3.0.
Hi Pfhoenix,
We are currently unable to reproduce the issue, but we will continue testing and if we confirm the erroneous behaviour, we will create a work item on the matter.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/When you test, please pay attention to the fact that I said the problem was with the source code you released, not the minified code. My project uses your source code when doing debugging/testing, which is how I found the problem.
It occurred to me just now why you are unable to “reproduce the issue”. There are two issues, actually :
1. 4.3.0’s source code was inconsistent with the release, minified code, where the source code had the following bug :
2. jqxTab is renaming LI IDs without checking if they have an ID or notYou guys fixed #1 by taking the bugged source code and minifying it to be the release code. You propagated the bug instead of fixing it. Can you please address this properly by fixing the bug in both source and release code?
Hi Pfhoenix,
Thank you for your feedback. Such issue should no longer occur in any release of the next version of jQWidgets.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.