j'ai le code suivant, i valeur stockée dans la variable imgwidthComment récupérer jQuery.mynamespace?
var newImg = new Image();
newImg.src = document.getElementById('image').src;
var height = newImg.height;
var width = newImg.width;
var width_img = width/3;
jQuery.mynamespace = {imgwidth : width_img};
Comment puis-je récupérer la variable imgwidth globalement?