急寻引用jQuery框架的简单代码详细示例

解决方案 »

  1.   

    <!doctype html>
    <html lang="en">
    <head>
    <title>jQuery UI Draggable - Default functionality</title>
    <link type="text/css" href="theme/ui.all.css" rel="stylesheet" />
    <script type="text/javascript" src="jquery-1.3.2.js"></script>
    <script type="text/javascript" src="ui/ui.core.js"></script>
    <script type="text/javascript" src="ui/ui.draggable.js"></script>
    <style type="text/css">
    #draggable { width: 150px; height: 150px; padding: 0.5em; }
    </style>
    <script type="text/javascript">
    $(function() {
    $("#draggable").draggable();
    });
    </script>
    </head>
    <body><div class="demo"><div id="draggable" class="ui-widget-content">
    <p>Drag me around</p>
    </div></div><!-- End demo --><div class="demo-description"><p>
    Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.
    </p></div><!-- End demo-description --></body>
    </html>
      

  2.   

    介绍给你本书吧,挺好的《jquery 基础教程》李松峰,李伟等译 人民邮电出版社
    具体的下载地址我也忘了,你搜一下吧
      

  3.   

    学习jquery,自己看看文档,查查资料就可以了,用不着看别人是怎么做的?有的时候你只需要融会贯通!
      

  4.   

    给个例子你:http://download.csdn.net/source/1560830jquery+flexigrid+json的java例子
      

  5.   

    这个是中文手册,很详细:http://download.csdn.net/source/1560840
      

  6.   

    搞明白jquery 跟dom的关系。然后熟悉它的选择器。最好是看本书。选择器是在是比较多,需要经常翻文档。