input type in acquiring div to file all objects

 

var files = $(".profile-content").find("input[type='file']");
  files.each(function () {
  alert($(this).attr("data-id"));
 })

 

Guess you like

Origin www.cnblogs.com/firstcsharp/p/11291279.html