I created html file and inserted .js file in it. It gives onclick=myFnction() from .js the function is supposed to get cookies. All html and .js file stored in .htaccess
But when I click the button and .js script executed, no cookies displayed, only blank web site.