View Single Post
  #5  
Old November 7th 18, 10:50 PM posted to alt.windows7.general
Emrys Davies
external usenet poster
 
Posts: 310
Default Javascript is enabled but it does not work.

"😉 Good Guy 😉" wrote in message news On 07/11/2018 19:44, Emrys Davies wrote:






Is there a definite test so that I am sure that it does not work?


Yes there is a definite test. Put this code in a plain text file and then save it as "emrys.html". Then double click on the file and open it in a browser. Click on the button where it says to show you your Date and Time. It you don't get the date & time then you know "IT DEFINITELY DOESN'T WORK".


!DOCTYPE html
html lang="en"

head
meta charset="UTF-8"
meta name="viewport" content="width=device-width, initial-scale=1.0"
meta http-equiv="X-UA-Compatible" content="ie=edge"
titleDocument/title
/head

body
h2Emrys JavaScript Test/h2

button type="button" onclick="document.getElementById('demo').innerHTML = Date()"
Click me to display Date and Time./button

p id="demo"/p
/body

/html


You have caught me out. That is beyond my computer ability.







--
With over 950 million devices now running Windows 10, customer satisfaction is higher than any previous version of windows.




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Ads