July 25, 201510 yr The Deep Web <!Doctype html> <html> <head> </head> <body> <script> var x = 0; function k () { x++ document.getElementById("Text").innerHTML=x; } </script> <img onclick="k()" src="https://lh6.ggpht.com/0O-HefMHNwemt4gnJ4YfNq3xFaTBaiFcwIRiUpzDZ1KObI8ptEMgoHOSDiy_tumRWexz=w300"></img> <h1 id="Text"></h1> </body> </html> Edited July 25, 201510 yr by hajar424
July 25, 201510 yr Author Store x in a cookie LOL, I update it so that the javascript code is in the html file
Create an account or sign in to comment