<ul class="apple" id="A">
<li>
<li>
.....
......
......
</ul>
<ul class="apple" id="C">
<li>
<li>
.....
......
......
</ul>
The code snippet above showcases a list item with the id of C that is contained within an unordered list with the class of "apple".
When trying to select the ul element with the id B using jQuery, the following syntax was attempted: $(selector).find('ul.apple #B'). However, this method did not yield the desired result.
The objective is to display all list items under the ul element with the class of "apple" and id of "C". This functionality is being implemented in FTL (Freemarker) and there is an attempt to call the id defined in Freemarker from JavaScript.
Thank you for your assistance :)