Using jquery plugin in aspx page?

回眸只為那壹抹淺笑 提交于 2019-12-14 03:24:22

问题


This is the first time im using a jquery plugin and i want to use this jquery plugin into my aspx page.I havent seen any kind of documentation on how to use the plugin on the website.

Amy documentation on how to use the plugin will be very helpful


回答1:


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

You can add your all kind of jquery pulgin like this in your aspx page.




回答2:


  1. Download jQuery from http://jquery.com/download/

    And go to the link Download the compressed, production jQuery 1.10.2 and save the js as jquery-1.10.2.min.js.

    Add this js to your project.

  2. Download jQueryUi from http://JqueryUi.com. Uncomress this and Add ui and theme folder to your project.

  3. Now in your page take reference of jquery-1.10.2.min.js By adding this you can use basic functionality of jQuery.

  4. To use jQuery Controls, you need to take reference of

    jquery-ui.min.css from themes\base\minified folder

    jquery-ui.min.js from ui\minified folder

Note: 1. jquery-ui.min.js must be placed after 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 


来源:https://stackoverflow.com/questions/20511635/using-jquery-plugin-in-aspx-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!