I want to disable register button and change text to "Please wait..." after user click register button. I tried using javascript like,
HTML,
<