In Gridview Anchor tags are not working in Safari
<p>In my project i am using Gridview to display List of Companies, under the Company name i have link to navigate to company details for this link i am using html anchor() tag. It's working good in IE and Chrome but in the Safari it's not navigating. Below is my sample gridview TemplateField.</p>

<pre><code> &lt;asp:TemplateField HeaderText="Company Name" ItemStyle-Width="175px" HeaderStyle-HorizontalAlign="center"
                                        ItemStyle-HorizontalAlign="left" SortExpression="CompanyName"&gt;
                                        &lt;ItemTemplate&gt;
                                        &lt;a href="#" title="Edit Company" onclick="LoadCompanyDetails('&lt;%# Eval("CompanyId") %&gt;', '&lt;%# Eval("CompanyName") %&gt;', 0)"&gt;
                                                &lt;%# Eval("CompanyName")%&gt;&lt;/a&gt;
                                       &lt;/ItemTemplate&gt;                                        
                                    &lt;/asp:TemplateField&gt;
</code></pre>

<p>JavaScript Function:</p>

<pre><code>        function LoadCompanyDetails(companyId, companyName, copyFlag) {
            $get('hdnCompanyId').value = companyId;
            $get('hdnCompanyName').value = companyName;
            $get('hdnCopyFlag').value = copyFlag;
            $get('btnEdit').click();            
        }
&lt;a id="btnEdit" href="#" runat="server" onserverclick="btnEdit_ServerClick" style="display: none"&gt;
</code></pre>

<p>And out side grid also anchors are not working in safari.</p>

<p>Can any one help me please.</p>
