I'd like to obtain a li item from an unordered list using the id attribute of both elements as part of the selector.
This is an example of how I made it work using the ul css class:
var listItem = $('ul.selectedItems li#' + opt.list[i].ID);
I tried to use the following approach with no luck:
var listItem = $("#" + opt.name).childs.find("#" + opt.list[i].ID)