在网页编程中,我们经常需要检测浏览器的一些信息。下面我写了一个简单的例子,使用了MicrosoftAjax客户端脚本库和jquery脚本库来检测这些信息
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
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>
title>
<script src="jquery-1.3.2-vsdoc.js" type="text/javascript">
script>