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

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -