简体   繁体   中英

Jquery UI in asp.net

How do i include jquery ui to be used in my system? I've already put the code in my header:

<script type="text/javascript" src="/scripts/jquery.min.js"></script> 

And how can I include the date picker which I already downloaded from jqueryUI. Here is the code of the date picker :

<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>

<div class="demo"><p>Date: <input type="text" id="datepicker"></p></div>

I got confused how to export the downloaded file to asp. Thank you.

Did you also include the references to JQuery?

<link type="text/css" href="css/themename/jquery-ui-1.8.23.custom.css" rel="Stylesheet" />  
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js"></script>

See: JQuery UI Documentation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM