2 Replies Latest reply on Dec 7, 2012 12:10 AM by juanjoharo

    Passing variables?




      Is there a way to access a variable from one page to another?


      I have two edge files


      In the one who loads fisrt, i declare a variable in the first frame:


           sym.setParameter ("myVar", 101);


      Then when a press a button, i use this sentence to go to the other page, in wich I try to send the variable.


           window.open("index_pruebas_2.html?myVar="+myVar, "_self");


      In the other page, i use this to display the value of the variable


           alert("la variable es " + myVar);


      But, nothing happens...


      The question, is that i have to creare a navigations systen with a lot of pages loaded from a menu and I need to share variables betwen the menu and the pages.


      Thanks for help