Hello,
Ma fonction coller l'image n'affiche pas l'image dans mon label texte area sous google chrome.
Cependant lorsque j'exécute cela sur IE, l'image apparait bien dans mon label.
Voici mon code :Merci pour vos retours
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 if (document.body.createControlRange) { controlRange = document.body.createControlRange(); controlRange.addElement(div); controlRange.execCommand('Paste'); $('.sub-item:nth-of-type('+ n + ') img').attr("class", "center-block"); je_valide(n); }
Partager