[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-09 Thread syg6
I think I fixed it! (With your help of course ...) This is the way I had it previously: jQuery.noConflict(); $(function() { jQuery('.date-pick').datePicker({clickInput:true}); }); And this is how it should be: jQuery.noConflict(); jQuery(function() { jQuery('.date-pick').datePick

[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-09 Thread syg6
Thanks for putting up with an obvious noob. Of course, Programming 101 - once you execute jQuery.noConflict() you can no longer use '$' as stated in the docs. But I tried 2 of the 3 techniques in the above referenced page: 1. executing jQuery.noConflict() 2. executing jQuery.noConflict() and cha

[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-08 Thread Kelvin Luck
Because you are using jQuery in noConflict mode you can no longer use $ to create jquery objects. So you need to replace: $('.date-pick').datePicker({clickInput:true}); with: jQuery('.date-pick').datePicker({clickInput:true}); Hope that helps, Kelvin :) syg6 wrote: Thank you both, Kelvin

[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-08 Thread syg6
Thank you both, Kelvin and Klaus, for your replies. Yes, I saw that page and after a quick read decided (incorrectly) it was above my jQuery pay-grade and that it didn't apply to me. But as it turns out, if I put the jQuery.noConflict(); line in my page before calling the datePicker() function, t

[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-08 Thread Klaus Hartl
syg6 wrote: Hello all. I posted this over at Appfuse's Nabble list as first, but then thought this would be the better place. I have a default.jsp page that uses SiteMesh to 'decorate' all of my jsps. It contains the following js libraries: prototype.js scriptaculous.js global.js In order to

[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-08 Thread Kelvin Luck
Hi, Have you seen this page? http://docs.jquery.com/Using_jQuery_with_Other_Libraries Hope it helps, Kelvin :) syg6 wrote: Hello all. I posted this over at Appfuse's Nabble list as first, but then thought this would be the better place. I have a default.jsp page that uses SiteMesh to 'dec