function modify_button_text(){
//update the word from cat to dog.
}
<button id="button_1_id" >Cat</button>
<br><br><br><br>
<button id="modify_button_text_btn" >Change the Text of Above Button</button>
I'm looking for a way to change the text on a button using another button. Any suggestions on how I can achieve this?