Click to See Complete Forum and Search --> : how can i check in javascript


pelegk1
07-17-2003, 05:42 AM
code if the user broswer lets to write cookies into the HD?
thanks in advance
PEleg

pyro
07-17-2003, 07:46 AM
You'll just have to write a cookie, and then try reading it... If you are able to read the cookie, they obviously have cookies enabled. You could also try navigator.cookieEnabled (http://devedge.netscape.com/library/xref/2002/client-data/property-data-navigator.html) which will return true or false.