<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <%@ PreviousPageType VirtualPath="Default3.aspx"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>hiiii</title> <script type="text/javascript"> var browserName = ""; function callme(id) { var ua = navigator.userAgent.toLowerCase(); if ( ua.indexOf( "msie" ) != -1 ) { this.style.behavior='url(#default#homepage)'; this.setHomePage('www.yahoo.com'); browserName = "msie"; } } </script> </head> <body> <FORM> <INPUT TYPE="button" VALUE="yahoo" onClick="callme(this.id);"> </FORM> </body> </html
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)