Article From:

Simple Description: Value in the IMG tag stores the value needed, but when I get it in js, I write directly $(” imgStr”). val (), which turns out to be empty, and after checking it later, I know that the value of img needs att.R to get


var result = new Array();
var test = $(this).attr("value");

 Summary: I really don’t know how the value in the IMG tag was picked up…

Link of this Article: Value acquisition in img Tags

Leave a Reply

Your email address will not be published. Required fields are marked *