click() event
Fix for Firefox click() event issue
Submitted by Ben Hodson on Sun, 07/13/2008 - 17:23
Firefox does not support the javascript click() event on a hyperlink. So doing something like:
<asp:LinkButton ID="lnkMyButton" runat="server">My Button To Click</asp:LinkButton>
<a href="#" onclick="document.getElementById('lnkMyButton').click();">Click this to click the other link!</a>
Popular Articles
Last viewed:
- C# Generate Password Hash with Salt
- C# Free Component to Generate PDF - Convert HTML to PDF
- Clustered Index vs. Non-Clustered Index in SQL Server
- Getting Started with Microsoft Chart Controls for ASP.NET 3.5
- GridView ObjectDataSource LINQ Paging and Sorting
- Data Access Layer using SqlDataReader and C#

Recent comments
14 hours 31 min ago
1 day 14 hours ago
3 days 15 hours ago
4 days 4 hours ago
4 days 15 hours ago
4 days 21 hours ago
5 days 1 hour ago
1 week 22 hours ago
1 week 1 day ago
1 week 4 days ago