Javascript is called in IE and FF but not in Chrome, why?
        Posted  
        
            by JPJedi
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by JPJedi
        
        
        
        Published on 2009-06-18T15:37:56Z
        Indexed on 
            2010/03/24
            17:03 UTC
        
        
        Read the original article
        Hit count: 412
        
I have the following code below for a button on an aspx page. When it is clicked it should call a javascript that will print the text in that div. Everything works great in IE & Firefox but when it is tried in chrome it is as if the OnClientClick is not kicking off the javascript. I receive no errors and it works in IE and FF now.
Below is the code for the button that calls the javascript.
<asp:Button ID="btnEULAPrint" Text="Print" runat="server" ValidationGroup="EULA"
            OnClientClick="javascript:CallPrint('EULA');return false;"/>
Anyone have any ideas or links they could share to point me in a direction?
Thanks
© Stack Overflow or respective owner