[XSLT] Problème Javascript IE/FireFox
Bonjour,
J'ai un problème, dans un fichier XSLT, lorsque je veux faire un "window.document.write" de javascript. Ca marche très bien sous IE mais pas sous Firefox (écran reste blanc).
Code:
1 2 3 4 5 6 7 8 9
|
<td align="center"><span class="gen">
<script type="text/javascript">
<![CDATA[var SrvPrs = "]]><xsl:value-of select="SrvPrs"/><![CDATA[";]]>
<![CDATA[var NumDos = "]]><xsl:value-of select="NumDos"/><![CDATA[";]]>
<![CDATA[var Ident = "]]><xsl:value-of select="Nom" /><![CDATA[" + " " + "]]><xsl:value-of select="Prenom"/><![CDATA[";]]>
<![CDATA[window.document.write('<img src="Images/suppr.jpg" border="0" onclick="Suppr('+SrvPrs+','+NumDos+',\''+Ident+'\');"/>');]]>
</script>
</span></td> |
Je comprends pas comment faire !
Merci.