在aspx页面中使用jquery插件?

时间:2013-12-11 05:59:39

标签: asp.net jquery-plugins jquery-steps

这是我第一次使用jquery插件,我想在我的aspx页面中使用这个jquery plugin。我没有看到任何关于如何在网站上使用该插件的文档。

关于如何使用该插件的Amy文档将非常有用

2 个答案:

答案 0 :(得分:0)

  1. http://jquery.com/download/

    下载jQuery

    转到链接下载压缩的生产jQuery 1.10.2 并将js保存为 的jquery-1.10.2.min.js。

    将此js添加到您的项目中。

  2. http://JqueryUi.com下载jQueryUi。取消对此并添加ui和主题 文件夹到你的项目。

  3. 现在在您的页面中参考jquery-1.10.2.min.js 通过添加它,您可以使用jQuery的基本功能。

  4. 要使用jQuery控件,您需要参考

    来自themes \ base \ minified文件夹的jquery-ui.min.css

    来自ui \ minified文件夹的 jquery-ui.min.js

  5. 注意:1。jquery-ui.min.js必须放在jquery-1.10.2.min.js之后

      2. base is the default theme. you can download and use other themes as well
         you just need to change folder name in the reference to the css.
    
      3. You can also use uncompressed version to the jQuery code and debugging    
         during development 
    

答案 1 :(得分:0)

<(removeMe)script src =" http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> ≤(removeMe)/脚本>'

您可以在aspx页面中添加所有类型的jquery pulgin。