Http protocol is stateless, so there is no native way to save some information between pages. But fortunately we have cookie in browsers. First of all, how to check if browser supports cookie: var isCookieEnabled = navigator.cookieEnabled; alert(isCookieEnabled ? ‘Cookie Enabled’ : ‘Cookie Disabled’) And when you checked that cookie …

“Hello world” is actually very simple program on every programming language and it’s just writting to out stream or document or whatever simple two-words sentence – “Hello world”. There are several ways to write hello world script for browser. Optioin #1: Write in document: <script type="text/javascript"> document.write("Hello World!"); </script> Option …