+ 2
When I Press The Button How To Make an Alert
I Want to Prank People Sombody Click The Button Then Shows A Alert Make The JS Command Plz
3 Réponses
+ 3
Goto Code section.
Choose Most Popular option.
Search "alert button".
You can find some of example as your need.
Thank you 🙏🏻
Catafrancia Mapper
+ 11
Button.onclick =()=>{
Alert("hello")
}
+ 2
<!doctype html>
<html>
<head>
<script type=text/javascript>
function click(){
Var a=alert("This is an Alert box");
}
</script>
</head>
<body>
<input type=button value=button onClick=click()>
</body>
</html>