How do I use JavaScript when the HTML body loads? -


i tried doing on website, it's not working. need sort of link?

<body onload=“alert(‘today - 10% off on weekend - coupon code zenten’);”> 

what have should work, problem can see quotes aren't standard quotes. try code.

<body onload="alert('today - 10% off on weekend - coupon code zenten');"> 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -