Bonjour,
Voilà j'ai un petit soucis avec un create élément span, je lui ajoute la méthode ondblclick et je veux qu'il m'ouvre une nouvelle page grâce à window.open.
En fait la méthode ondblclick marche puisque j'arrive à faire un alert, mais lui le window.open refuse totalement de coopérer.
Voici le code:
Pouvez vous m'aider silvouplait?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 sd.ondblclick = function() { alert("hello"); window.open("http://XXX.XXXXXXXX.com/XXX/XXX.XXX/($XXX)/"+XXXXXX[i].XXXXX+""); }
Partager