I'm trying to use Javascript to change the button display text (in this case, "Push Here") using this code:
var button_list = document.getElementsByTagName('button');
var button = button_list[0];
<button class="btn-primary" id="btn-header-example-cs" data-toggle="modal" data-url="" data-options="" style="display: inline-block;">Push Here</button>
However, I can't change it with button.value = "New Text"
. What am I doing wrong?