I am looking for Google, but have found whole functions to get cookie value. Isn't there a single line statement to get cookie value in javascript?
You can use javascript library for example. jQuery in addition to the plugin: http://plugins.jquery.com/project/cookie
Demo page: http://stilbuero.de/jquery/cookie/
try document.cookie. Here is a good link
Source: https://habr.com/ru/post/1792843/More articles:Javascript localization in .net - javascriptPerl autosplit function with in-place editing - perlTextView html formatting - androidget parameter value from cookie - javascripthtml5 showNotification - html5Formatting javascript Visual Studio .NET 2010 - javascriptHow to display a PDF file? - androidPrevious and Next buttons are displayed on new lines using jQuery UI datepicker - jqueryUsing AJAX web services directly - javascriptRails invokes an action from a view - ruby | fooobar.comAll Articles