Why can't the .click () in the delegate binding be triggered?

double $ is due to the use of framework7

$$(".drop-menu-backdrop").on("click", function () {
    $$("-sharpopen_drop_menu").removeClass("open").find("i").text("keyboard_arrow_down");
    $$(".drop-menu").css("height", 0);
    $$(".drop-menu-backdrop").hide();
});
$$(".drop-menu").on("click", "ul>li", function () {
    var _this = $$(this);
    _this.addClass("active");
    _this.siblings().removeClass("active");
    $$(".drop-menu-backdrop").click();
    // $$(".drop-menu-backdrop").trigger("click");
});

Why can"t you execute the sentence $$(".drop-menu-backdrop"). Click (); ), not even trigger ? It can be executed in the browser console .
ask the elder to solve the problem ~! Thank you

Mar.29,2021

what do you mean you can't execute? here is the registration event.


can't be not definded until there is a click event. But the click event code is written without asking any questions. Is there no click event


code is incomplete? you can try event delegation

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b417c3-2c5c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b417c3-2c5c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?