To move the '.qq_muti_img' element to the top of the '.qq_u_img' element within a '.qq_uploader' container, you can use the .prepend() method in jQuery. Here's how to modify your code:

inputp.closest('.qq_uploader').find('.qq_u_img').prepend('.qq_muti_img');

This code will prepend the '.qq_muti_img' element inside the '.qq_u_img' element, effectively moving it to the top.

jQuery Prepend Element: Move '.qq_muti_img' to the Top

原文地址: https://www.cveoy.top/t/topic/qk8x 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录