In Confluence 2.8.2, we used a jQuery script to "decorate" the breadcrumbs. We accessed the
ol#breadcrumbs.list element with this simple code :
Now, we have to upgrade our version of Confluence to 2.10.2
A simple look at the js scripts shows that the AJS object has been modified by developers.
As a result, my code is no longer valid.
I thought that the DOM wasn't completely loaded, so I added an event on a click button to find the
ol#breadcrumbs.list element :
(the first var tries to find the
#breadcrumbs.list element, the second var tries to find the
=> Result :
#breadcrumbs.list is not found (an object with a length of 0)
#testbutton gives a good object !
When trying to rename the
#testbutton element to
#test.button (note the dot between the two words, like
#breadcrumbs.list), I get the same null object as when trying to retrieve
So, my question is the following : Is there any known problem when accessing via jquery an element with a "dot" inside its name ?
Note that in Confluence 2.8.2, accessing an element with a "dot" inside the name was not a problem...