Bonjour,
J'ai ce code-ci:
La fonction openWindow2 fait simplement un window.open.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 url = "http://" + hostName + "/GR/" + <%= admnr %> + "/"; openWindow2(url,"GR",largeur,hauteur);
J'aimerais tester si mon url existe bien afin d'afficher un message pour l'utilisateur si ce site n'existe pas et s'il existe j'exécute ma fonction.
Quelqu'un sait-il comment je pourrais m'y prendre?
Merci
Michaël
Partager