Thread
: Tech
Quick HTML Question <button></button>
View Single Post
09-22-2021, 01:57 PM
ZTT
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 657
Well on that W3Schools page change: "alert('Hello world!')" to "window.open('https://www.duckduckgo.com')", like:
<button type="button" onclick="window.open('https://www.duckduckgo.com')">Click Me!</button>
__________________
__________________
ZTT
View Public Profile
Find More Posts by ZTT