How to get cookie value in Js file in magento 1?

311 Views Asked by At

I am trying to get cookie value but "Mage.cookies" is not working in js file, How to get cookie value in js file in magento 1 ?

1

There are 1 best solutions below

0
Leon Bebb On

Have you checked that the Mage/cookie.js is loaded? or is there any error Showing up in the Console? or have you removed the js.phtml in the layout/local.xml?