Hi all,
in my xml
<header>
<button onclick="myFunction()" name="click_me" string="Click"
class="oe_highlight"/>
</header>
and in my custom .js file
function myFunction() {
alert("Hello! I am an alert box!!");
}
the javascript function called after i button pressed but the create/save buttons got disable like below