I want to show alert message by JavaScript file when click on a button, which is added in XML. I try a lot by different methods but didn't reached to any solution. So, anyone can solve this problem.
My XML Code is here.
Xml Code:
<button name = "name" type="button" onclick="updatebtn" class="btn"/>