关于JQUERY的AJAX应用
http://www.ccscript.cn/Content/6/59.aspx
http://www.ccscript.cn/Content/6/52.aspx

解决方案 »

  1.   

    是不是要用jq的方式给a加hover?把你的代码发来看看呢~~
      

  2.   

    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %><!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 id="Head1" runat="server">
        <title>无标题页 </title>
    <script language="javascript" type="text/javascript" src="test_jquery/jquery-1[1].2.6.min.js"> </script>
    <script language="javascript" type="text/javascript">
    $(window.document).ready(function()
    {
        $("#header").hover(function()
        {
            alert("一");
        },
        function()
        {
            alert("二");    
        })
    })
    </script>
    </head>
    <body>
      <div id="container">
          <div id="switcher" class="test">  //.test
            <h3>Style Switcher </h3>
            <div class="selected" id="switcher-normal">Normal </div>
            <div class="button" id="switcher-narrow">Narrow Column </div>
            <div class="button" id="switcher-large">Large Print </div>
          </div>
          <div id="header"> //#header
            <h2>A Christmas Carol </h2>
            <h2 class="subtitle">In Prose, Being a Ghost Story of Christmas </h2>
            <div class="author">by Charles Dickens </div>
          </div>
        </div>
    </body>
    </html>按书上说的我对"#header"注册了hover()就不会影响到"#header"里的<div class="author">,但是我运行出来的效果并不是这样