Thanks karl.
 
My codeline is :
 
<a href="javascript:if(confirm('¿Desea salir de la aplicación?')) window.open('index','_top')"                                    ><img alt='Salir' border='0' src='javascript:void(0);'/></a>
 
and the javascript confirm doesn´t work. I´m in a XSL page.
 
I will try with your solution.
 
Jose.
Madrid.
España.
 
 
----- Original Message -----
From: Karl Øie
Sent: Tuesday, November 20, 2001 5:08 PM
Subject: RE: Cocoon2 and Javascript

are you placing the javascript in a cdata section?
 
    <SCRIPT>
    <xsl:comment><![CDATA[
        function hahaha() {
            }    
    ]]>
    </xsl:comment>
    </SCRIPT>
 
mvh karl øie
-----Original Message-----
From: Jose de Miguel [mailto:[EMAIL PROTECTED]]
Sent: 20. november 2001 17:00
To: [EMAIL PROTECTED]
Subject: Cocoon2 and Javascript

Hi !
 
I´m developing with Cocoon2 and Tomcat 4.0.1 and I get bad text in the browser when I write in, for example, a confirm of Javascript characters like ?, ¿ , etc...
 
Do you know something about that ????
 
Can anybody tell me how to solve this problem ????
 
 
Jose de miguel Jiménez
Madrid 
(España)
 
 

Reply via email to