브라우저 버전 알아내기

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>브라우저 버전 알아내기</title>
<script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
<style type="text/css"></style>
<script type="text/javascript">

 $(document).ready(
   function() {
  
   // IE 8.0 이지만, 6.0으로 나타남
   alert('현재 웹 브라우저 버전은 : ' + jQuery.browser.version + '입니다.');

   }
   );
 
</script>
<body>
</body>
</html>

'백엔드 프레임워크 & 언어' 카테고리의 다른 글

콜백 : 매개변수로 함수를 전달  (0) 2011.03.09
콜백(Callback) 과 맵(Map)  (0) 2011.03.09
동적으로 폰트 늘이기 및 줄이기  (0) 2011.03.09
jQuery 기본 템플릿  (0) 2011.03.09
[JDBC] dbcpTest.jsp  (0) 2011.02.27