inputpclosestqq_uploaderfindqq_u_imgremovemultiple_icon;
This code is written in jQuery.
Explanation:
inputpis assumed to be a reference to a DOM element.inputp.closest('.qq_uploader')finds the closest ancestor element with the class "qq_uploader"..find('.qq_u_img')looks for descendant elements with the class "qq_u_img" within the previous result..remove('.multiple_icon')removes elements with the class "multiple_icon" from the previous result.
In summary, this code finds the closest ancestor element with the class "qq_uploader", then finds descendant elements with the class "qq_u_img" within it, and finally removes elements with the class "multiple_icon" from the found descendants
原文地址: https://www.cveoy.top/t/topic/iEvz 著作权归作者所有。请勿转载和采集!