You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
the current draft of HTML 5 is more permissive than HTML 4 for the values of id attributes, which can now contain about any character, such as the tilde (~). But a tilde in the id attribute of a table row causes an exception in childrenOf() when calling the treeTable constructor on the table.
For example, id "treetable_2_~" causes the problem. childrenOf() is called from initialize() and
uses a selector with the id unescaped:
(sorry, late response, cleaning up issues) Thanks for reporting this issue. Version 3 of the plugin does not use node-ids in selectors so this is no longer an issue.
Hi,
the current draft of HTML 5 is more permissive than HTML 4 for the values of id attributes, which can now contain about any character, such as the tilde (~). But a tilde in the id attribute of a table row causes an exception in childrenOf() when calling the treeTable constructor on the table.
For example, id "treetable_2_~" causes the problem. childrenOf() is called from initialize() and
uses a selector with the id unescaped:
function childrenOf(node) {
return $("table.treeTable tbody tr." + options.childPrefix + node[0].id);
};
I get a JavaScript error in Firefox: "uncaught exception: Syntax error, unrecognized expression: ~".
The text was updated successfully, but these errors were encountered: