I have one form page that submits data to the database from a popup. I added one disabled js button to send data once.It does not work on ie11, but works fine for other browsers.
<script language="javascript" type="text/javascript">
function disableButtonOnClick(oButton, sButtonText, sCssClass)
{
oButton.disabled = true;
oButton.value = sButtonText;
oButton.setAttribute('className', sCssClass);
oButton.setAttribute('class', sCssClass);
}
</script>
source
share