0

How do I make a button In JavaScript, and how do I put it somewhere?

Can someone plz explain

12th Nov 2018, 3:35 AM
Joshua
2 ответов
+ 10
In script tag : Info = "JS Button"; document.write('<button id="button1" onclick="alert(Info);">Button</button>');
12th Nov 2018, 4:20 AM
Nova
Nova - avatar
0
thanks
12th Nov 2018, 4:20 AM
Joshua
Актуальное сегодня
.
1 Votes
What?
0 Votes
HTML
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes
Create Agent
0 Votes