Hi all. I created a custo html button and added it to my form. I added a script tag in the head tag of the html with a script to be executed. How do i load the script on the form before calling it on the button click. Kindly assist. Below is the script
<html><head>
<title>ApproveInvoice</title>
<style type="text/css">
body,html {
height:95%;
width:100%;
margin:0;
padding:0;
}
</style>
<meta charset="utf-8">
</head><body>
<div id="buttons_main">
<script type="text/JavaScript">
function ApproveInvoice_click() {
window.parent.ApproveInvoice();
}
</script>
<button class="ms-crm-Button" onclick="ApproveInvoice_click();">Approve Invoice</button>
</div>
</body></html>
*This post is locked for comments
I have the same question (0)