Answers for "jquery image width"

3

jquery set width

$(".example").width("px");
Posted by: Guest on February-20-2020
1

javascript get image width and height

var img = new Image();
img.onload = function() {
  alert(this.width + 'x' + this.height);
}
img.src = 'http://www.google.com/intl/en_ALL/images/logo.gif';
Posted by: Guest on March-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language