Paal Waan
Paal Waan

Reputation: 49

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.

Upvotes: 0

Views: 359

Answers (1)

Frazell Thomas
Frazell Thomas

Reputation: 6111

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

Upvotes: 1

Related Questions