Salut,
En utilisant le code suivant je voulais afficher la page index.jsp si showdata=Welcome User!
sinon afficher la page Authentification.jsp
mais quand j�ex�cute le code il m'affiche toujours la m�me page dans tout les cas.
quel est le probl�me?
Merci.Code:
1
2
3
4
5
6
7
8
9
10 var showdata = xmlHttp.responseText; alert(showdata); var txt = new String("Welcome User!"); if(txt=showdata) {window.open("index.jsp");} else { window.open("Authentification.jsp"); }