document.cookie : cookie : Document JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Document » cookie »

 

document.cookie










Syntax








document.cookie



The cookie property provides the ability to read and write cookies.

A cookie represents a small amount of data stored by web browser to share information.












<html>
    <script>
    <!--
    document.cookie = "temperature=75";

    document.write("The cookie contains: ",document.cookie);

    -->
    </script>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Document
» cookie