I want to know if there's a way on customizing the button's text when a alert appears. An alert is like this
<!DOCTYPE html>
<html>
<body>
<script> function functionAlert() {
alert("the text will be "Okay" but is there a way to make it something else?")
}
<script>
<button class=".button .button1" onclick="functionAlert"()>button!</button>
</body>
</html>