I'm trying to change the text of my button when I click on it, but I'm not getting it.
My code:
function altera(argument) {
document.getElementById('novo').innerHTML="atualizou";
}
<!DOCTYPE html>
<html>
<head>
<title>noono</title>
<script src="intercao.js"></script>
</head>
<body>
<button id="novo" onclick="altera()">Isso e um teste</button>
</body>
</html>