We help IT Professionals succeed at work.
Get Started

jQuery UI datepicker not showing

CDIT_Solutions
on
575 Views
Last Modified: 2012-07-09
Hi,

I've tried using jQuery UI for the first time by creating a datepicker for a date field.  The datepicker didn't show up on my website and I've tried a simple webpage containing one text box and it still doesn't show.

After downloading and unzipping the jQuery UI folder from http://jqueryui.com/download I uploaded the whole folder onto my website and pointed to each file's location as instructed (see code).  I am therefore wondering if I need to upload other jQuery files in order to run JQuery UI?

Many thanks in advance for any help.

Chris



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>



<link type="text/css" href="jquery-ui-1.8.21.custom/css/overcast/jquery-ui-1.8.21.custom.css" rel="stylesheet" />



<script type="text/javascript" src="jquery-ui-1.8.21.custom/js/jquery-1.7.2.min.js"></script>

<script type="text/javascript" src="jquery-ui-1.8.21.custom/js/jquery-ui-1.8.21.custom.min.js"></script>

<script type="text/javascript">



$('#ClosingDate').datepicker();



</script>



</head>



<body>

<form id="form1" name="form1" method="post" action="">

<label>Date

<input type="text" name="ClosingDate" id="ClosingDate" />

</label>

</form>

</body>

</html>

Open in new window

Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE