I search Google but found entire functions to get cookie value. Isn’t there one line statement to retrieve cookie value in javascript?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use a javascript library, e.g. jQuery in addition with a plugin: http://plugins.jquery.com/project/cookie
Demo page: http://stilbuero.de/jquery/cookie/