假设有一个下拉菜单,我希望当我在菜单上点击时,我会看到复选框,标签和最后的fa-fa图标。当我把菜单上的复选框放在我的jquery代码时:
(define (subset? set1 set2)
(accumulate
(lambda (x y) (and x y)) ;; the combination operator
#t ;; the value for the empty list
(lambda(x) (member x set2)) ;; the function to be applied to all the elements of
set1)) ;; the set set1
我看到“fa fa-lock”附加到我希望出现在菜单末尾的复选框标签上。有人可以帮帮我吗?
这是我的HTML代码:
$('#ul_menu').append('<li><input type="checkbox" name="aggiungi' + user_bookmarked[i].nome_bookmarked + '"> ' + user_bookmarked[i].nome_bookmarked + '<i class="fa fa-lock fa-1" aria-hidden="true"></i></li>');