6 Replies Latest reply on Sep 11, 2014 6:54 AM by ristenkAdobe

    jquery cookies in edge animate

    ristenkAdobe

      So in a regular html5 page in IE I can get the following jquery code to work:

       

                 $.cookie('mycookieX',cookieXcounter,{expires:7,path:'/'});

                 $.cookie('mycookieY',cookieYcounter,{expires:7,path:'/'});

                

                 console.log($.cookie('mycookieX'));

       

       

      But I can't get the code to work in my edgeActions.js file... I tried changing up the syntax (since when I use jquery in edge before I've had to change things for example:

                 $('#blueCar').animate({

                  left:carArrayX[carArrayXcounter] + "px",

                  top:carArrayY[carArrayYcounter] + "px"

                  }); '

       

      to

       

                 sym.$('blueCar').animate({

                 left:myVariableX + "px",

                 top:myVariableY + "px"

                 });


      but I can't figure out the cookies in edge with jquery to get them workign... It's probaby a syntax thing but all I could think of was this:

       

                sym. $.cookie('mycookieX',cookieXcounter,{expires:7,path:'/'});

                sym. $.cookie('mycookieY',cookieYcounter,{expires:7,path:'/'});

                

                 console.log($.cookie('mycookieX'));

       

       

      --------------------------> and of course this doesn't work..

       

      Please provide thoughts...