jQuery datepicker

A place to ask questions and get help. Be the first on your block to post ...

jQuery datepicker

Postby mmesarch1 » Tue Jun 22, 2010 4:15 pm

Hi,
Did some one show on a form "recently" how they were using the datepicker from jquery? I cannot find anything in the wiki or the bulletin board. Thanks.
mmesarch1
 
Posts: 105
Joined: Wed May 11, 2005 1:48 pm
Location: 229D Hardin Hall

datepicker

Postby CanadianSuperSpy » Wed Jun 23, 2010 3:40 pm

 
Last edited by CanadianSuperSpy on Thu Jun 24, 2010 1:48 pm, edited 2 times in total.
CanadianSuperSpy
 
Posts: 17
Joined: Wed Jul 23, 2008 1:22 pm
Location: CBA Room 13

OH so CLOSE

Postby mmesarch1 » Wed Jun 23, 2010 4:50 pm

Hey thanks. It is almost working.
But it looks like the style sheet is not working so it kind of is transparent over other stuff on thepage.
Go to http://snr.unl.edu/nature/test2.asp

I am trying to use it in affiliate template but it works the same way.
mmesarch1
 
Posts: 105
Joined: Wed May 11, 2005 1:48 pm
Location: 229D Hardin Hall

Postby CanadianSuperSpy » Wed Jun 23, 2010 5:01 pm

Code: Select all
<input type="text" id="txtdate" />

<script type="text/javascript">
    //<![CDATA[
    WDN.jQuery(document).ready(function ($) {
        WDN.loadCSS('/wdn/templates_3.0/scripts/plugins/ui/jquery-ui.css');
        WDN.loadCSS('/wdn/templates_3.0/scripts/plugins/ui/ui.datepicker.css');
        WDN.loadJS('/wdn/templates_3.0/scripts/plugins/ui/jQuery.ui.js', function () {
            $('#txtdate').datepicker();
        });
    });
    //]]>
</script>

Last edited by CanadianSuperSpy on Thu Jun 24, 2010 12:44 pm, edited 1 time in total.
CanadianSuperSpy
 
Posts: 17
Joined: Wed Jul 23, 2008 1:22 pm
Location: CBA Room 13

Postby mmesarch1 » Thu Jun 24, 2010 10:58 am

That did it. THanks.
Will try some stylin' soon.
mmesarch1
 
Posts: 105
Joined: Wed May 11, 2005 1:48 pm
Location: 229D Hardin Hall


Return to Help & Assistance

Who is online

Users browsing this forum: No registered users and 0 guests