Try :
window.document.cookie="repPDV=" + repPDV;

----- Original Message ----- 
From: "Erwan TROEL" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, June 21, 2005 9:40 AM
Subject: [svg-developers] lost variables


>i have two listboxs: the first one create a cookie and move to an other
> page,
> the second one should give a message alert with the cookie but it doesn't
> work:
> message error:  "uncaught exception: SOMException 3: Parameter type
> mismatch: 1]
>
> my code:
>
>
>  if (this.sLnrSelectList == 4) {  //redirection PDV
>      repPDV=cheminPDV[sLactiveSelection[this.sLnrSelectList]] ;
>    window.document.cookie="repPDV=repPDV";
>
>   window.setSrc("../../../" + repPDV +
> "/"+repTerritoire+"/"+repThematique+"/carte.svg");
>  }
>
>  if (this.sLnrSelectList == 2) { // redirection territoire
>
>
> repTerritoire=cheminTerritoire[sLactiveSelection[this.sLnrSelectList]] ;
>       alert(window.document.cookie);
>
>    }
>
> this code  is an extract of a file that is link in a svg file (<script
> xlink:href="../../../selectionList.js" language="JavaScript" />)
> and i have an html page with two frames  the second frame is this svg (
> <frame src="pdv1/T01/TH01/carte.svg" name="mainFrame">)
>
> i use IE 6.0.2800,  ASV 3.03 , Windows 2000
>
>
> [Non-text portions of this message have been removed]
>
>
>
> -----
> To unsubscribe send a message to: 
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> membership"
> ---- 
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 



        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to