반응형

 

 

jquery.browser.js

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title> New Document </title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
<script src="http://code.jquery.com/jquery-1.9.0.js"></script>
<script type="text/javascript" src="jquery.browser.js"></script>
<script type="text/javascript">
<!--
 function test(){
  $.browser.msie ? alert('Internet Explorer') : alert('Not Internet Explorer');
 }
//-->
</script>
 </head>

 <body>
  <input type="button" value="test" onclick="test();">
 </body>
</html>

Posted by 1010