Hello; I have a newbie question.

I want to include only the JQuery UI DatePicker in my application.

When I write my Javascript code to refer to the JQuery UI libraries
hosted at jquery.com, everything works fine.  The relevant javascript
source looks like this:

  <link type="text/css" href="http://jqueryui.com/latest/themes/base/
ui.all.css" rel="stylesheet" />
  <script type="text/javascript" src="http://jqueryui.com/latest/
jquery-1.3.2.js"></script>
  <script type="text/javascript" src="http://jqueryui.com/latest/ui/
ui.core.js"></script>
  <script type="text/javascript" src="http://jqueryui.com/latest/ui/
ui.datepicker.js"></script>

When I download and attempt to host those .js and .css files locally--
and when, obviously, I refer to them from inside my HTML pages--
nothing works.  Firebug indicates that basically the selector code ($
(".dp)) never finds my input type=text with class of "dp".  I don't
know why.  The relevant source (from within my Java application) looks
like this:

  <link type="text/css" href="${pageContext.request.contextPath}/
jquery-ui-1.7.1.datepicker/css/smoothness/jquery-ui-1.7.1.custom.css"
rel="stylesheet" />
  <script type="text/javascript" src="$
{pageContext.request.contextPath}/jquery-ui-1.7.1.datepicker/js/
jquery-1.3.2.min.js" />
  <script type="text/javascript" src="$
{pageContext.request.contextPath}/jquery-ui-1.7.1.datepicker/js/jquery-
ui-1.7.1.custom.min.js" />

The download configurator seems to be blissfully unaware of any
required dependencies I might need, so I'm shooting blind in the
dark.  I deselected everything, selected the DatePicker component, and
selected the UI core component.  I didn't select anything else.  I
downloaded the result and placed it within my (Java) web application.

I am happy to go into as much detail as is necessary, but perhaps I am
making a simple boneheaded pilot error?  It certainly wouldn't be the
first time.

Thanks,
Laird

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to