You don't want to use jQuery to read a cookie because it does not have a native way of accessing cookies. Seems like it should though.
However, just use native JavaScript. w3Schools has a good walkthrough on how to work with cookies in JavaScript. See
JavaScript Cookies[
^].