I am struggling with a form that contains buttons. Whenever I try to trigger a Javascript method using the onclick
event of one of the buttons, it works perfectly fine in both Google Chrome and Internet Explorer. However, when it comes to Firefox, the onclick
event fails to invoke the Javascript method.
function openHistory()
{
window.open("frmCLogHistory.aspx?txtCLogID="+document.all['<%=txtCLogID.ClientID %>'].value, 'abc', 'fullscreen=no,top=10,left=100,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=no, directories=no,location=no,width=800,height=630,titlebar=no');
}
</script>
<input type="button" name="showHistory" value="Show History"
onclick="javascript:openHistory()" style="width:120px;" class="GVButton" />