0

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.

4
  • You added the jQuery library to your page. Now you need to add the jQuery UI file as well. You will need to add the jQuery UI css file to get the controls to render properly. Commented Aug 29, 2012 at 2:52
  • w3schools.com/jquery/jquery_intro.asp Commented Aug 29, 2012 at 2:55
  • 1
    Use a better reference source @bryanmac. There are a lot of reasons not to quote w3schools Commented Aug 29, 2012 at 4:09
  • 1
    Yes and one of the reason is, stackoverflow is a better reference... lol Commented Aug 29, 2012 at 6:29

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

1 Comment

also make sure you add the files to your site or reference a CDN: w3schools.com/jquery/jquery_intro.asp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.