I
illmagination
Hi,
I need to display a small pop up message warning the user is leaving
the website. At the same time I need to also keep track of who is
leaving the website. My problem is that I can't user javascript in
asp:hyperlink tags. Should I just use a regular <a> tag and include the
IDs and Runat=Server tags?
Here is my code
<asp:HyperLink ID="lnkTradeUp" runat="server" Target="_blank"
NavigateUrl="http://www.google.com" onclick="javascript:ExitWebsite()"
CssClass="Small">Trade-Up FAQs</asp:HyperLink>
I need to display a small pop up message warning the user is leaving
the website. At the same time I need to also keep track of who is
leaving the website. My problem is that I can't user javascript in
asp:hyperlink tags. Should I just use a regular <a> tag and include the
IDs and Runat=Server tags?
Here is my code
<asp:HyperLink ID="lnkTradeUp" runat="server" Target="_blank"
NavigateUrl="http://www.google.com" onclick="javascript:ExitWebsite()"
CssClass="Small">Trade-Up FAQs</asp:HyperLink>