0

How do clear stuff if you press a button

How do you clear stuff when you press a button in js or HTML...

27th Sep 2018, 9:34 AM
Little Cupcake
Little Cupcake - avatar
2 Answers
+ 3
<button onclick="document.write('')">Clear all stuffs</button>
27th Sep 2018, 9:42 AM
CalviŐ˛
CalviŐ˛ - avatar
0
I meant if you press a button it cleared “Diffenret” text like on a input
27th Sep 2018, 8:12 PM
Little Cupcake
Little Cupcake - avatar