That's awesome Jeremy.  Thanks.

I found that libraries link earlier but I wasn't really that sure what it 
was I was looking at til now.

The one thing that was throwing me was that on the support site they were 
using:

<script src="http://code.jquery.com/jquery-1.9.1.js";></script>
instead of:
<script 
src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

There was really no reference to WHERE they were in the Google Libraries. 
Any how I got it figured now.

In case anyone stumbles upon this by accident the solution was very simple 
as it usually is.

All I had to do was add was this to the datepicker brackets:  {dateFormat: 
'dd-mm-yy'}

So it went from this:

        <link rel="stylesheet" type="text/css" 
href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/base/jquery-ui.css";
 
/>
        <script 
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"; 
type="text/javascript"></script>
        <script type="text/javascript"> jQuery('#XXXXXXX').datepicker(); 
</script>

to this:

        <link rel="stylesheet" type="text/css" 
href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/base/jquery-ui.css";
 
/>
        <script 
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"; 
type="text/javascript"></script>
        <script type="text/javascript"> 
jQuery('#XXXXXXX').datepicker({dateFormat: 
'dd-mm-yy'}); </script>

Lastly I went to the most up to date scripts and found a more flexible 
option for the calendar (which lets you pick the Months & years) and the 
final code I used was:

        <link rel="stylesheet" type="text/css" 
href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/jquery-ui.css";
 
/>
        <script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js";></script>
        <script 
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"; 
type="text/javascript"></script>
        <script 
type="text/javascript">jQuery('#XXXXXXX').datepicker({changeMonth: true, 
changeYear: true, dateFormat: 'dd-mm-yy'});</script>

Where XXXXXXX is your fields id=  value.

Hope this helps someone, and thanks again Jeremy!


-- 
-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/_BGRu2J2P5UJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to