albertopq/jquery_datepicker — Issue #10: Provide aditional compability with prototype
Author: viniciuscb
Created: 2011-12-13 10:55:20+00:00
State: open

Hello, in my rails app I am using prototype together with jQuery. I call prototype by the $ symbol and jQuery with jQuery. ...

Please provide additional compability just by changing the line 14 in lib/app/helpers/form_helper.rb by

```javascript
html += javascript_tag("jQuery(document).ready(function(){$('##{input_tag.get_name_and_id["id"]}').datepicker(#{dp_options.to_json})});")
```

to

```javascript
html += javascript_tag("jQuery(document).ready(function(){jQuery('##{input_tag.get_name_and_id["id"]}').datepicker(#{dp_options.to_json})});")
```

Thank you