# Date picker using Jquery

**URL:** <https://www.ruby-forum.com/t/date-picker-using-jquery/124640>\
**Category:** Rails\
**Created:** [December 31, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/date-picker-using-jquery/124640 "2007-12-31T13:25:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjularaj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@manjularaj](https://www.ruby-forum.com/u/manjularaj)\
**Post date:** [December 31, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/date-picker-using-jquery/124640/1 "2007-12-31T13:25:03Z")

</div>

Hi,

I’m using rails 2.0 and trying to implement date picker using jquery. We  
installed all the required gems. I’m writing the code as like below

In Layout

in body

I’m not getting any errors but this is not working. Please help me to  
get the answer.

---

<div class="post-metadata">

**Author:** ![manjularaj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@manjularaj](https://www.ruby-forum.com/u/manjularaj)\
**Post date:** [December 31, 2007, 1:37pm UTC](https://www.ruby-forum.com/t/date-picker-using-jquery/124640/2 "2007-12-31T13:37:41Z")

</div>

Hello,

Am Montag, 31. Dezember 2007 schrieb Manjula R.:

> ```
> $('#example').datepicker();
> 
> ```
> 
> src=“[http://dev.jquery.com/view/trunk/ui/current/datepicker/core/ui.datepic](http://dev.jquery.com/view/trunk/ui/current/datepicker/core/ui.datepic)  
> ker.js”\>
> 
> I’m not getting any errors but this is not working. Please help me to  
> get the answer.

Since the html-Code is rendered more or less correctly, this is nothing  
todo  
with Rails, it’s a clear JavaScript issue. Get yourself a script  
debugger,place some alerts, check, if scripts are executed, and so one.  
If you don’t want to bother with JavaScript and are not bound to jquery  
you  
can use [http://code.google.com/p/calendardateselect/](http://code.google.com/p/calendardateselect/)

Keep smiling  
yanosz

---

<div class="post-metadata">

**Author:** ![manjularaj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@manjularaj](https://www.ruby-forum.com/u/manjularaj)\
**Post date:** [January 3, 2008, 6:45am UTC](https://www.ruby-forum.com/t/date-picker-using-jquery/124640/3 "2008-01-03T06:45:23Z")

</div>

Hi,

I tried in all the ways but still i din’t get the output for datepicker.  
Please anybody help me to get the output. Is that jquery supports rails  
2.0.1?

Thanks,  
manjula
