Hi all,
I'm currently developping a web app, and this one must be compatible
with IE and Mozilla Firefox. In this webapp, I would like to launch
automatically a anchor link (href) with a javascript script.
My Javascript script works fine with IE but not with Mozilla Firefox.
Here is my script :
<script language="Javas cript">
strAppFound = new String("True")
if(strAppFound. toLowerCase()== "true"){
window.lnkApp.c lick();
}
The error returned by Mozilla Firefox Console Javascript is :
Erreur : window.lnkApp has no properties
Fichier Source : http://localhost/test.aspx
Ligne : 806
The HTML code (href link) is the following, that should be launch
automatically is :
<a class="appLinks "
href="launch.ic a?NFuse_Applica tion=Citrix.MPS .App.f10_col.my Application&NFu se_AppFriendlyN ameURLENcoded=m yApplication"
target="hiddenw indow" onClick="resetS essionTimeout() ; " id="lnkApp"
name="lnkApp">
<img src="icons.aspx ?id=EIBHKDOECEI JBMKHEDKFFICKKP GHHAFK"
border="0"
alt="myApplicat ion"
title="myApplic ation"
align=bottom hspace=3 width="32" height="32"><br >
myApplication<b r>
</a>
Everything works fine with IE browser...
Any one have an idea to solve this trouble ?
Thanks