Some thinks we do:

1) start loading prototype.js and effect.js first
<script type="text/javascript" src="/WebObjects/Frameworks/ Ajax.framework/WebServerResources/prototype.js"></script> <script type="text/javascript" src="/WebObjects/Frameworks/ Ajax.framework/WebServerResources/effects.js"></script> <script type="text/javascript" src="/WebObjects/Frameworks/ Ajax.framework/WebServerResources/wonder.js"></script> <script type="text/javascript" src="/indeXys/jscripts/jquery/ jquery.js"></script>
2) use  jQuery.noConflict(); jQuery(document).ready(function() {
Hope this will help you,
Jérémy

Le 31 mai 10 à 17:31, Theodore Petrosky a écrit :

thanks, I just started the jquery tutorials....

Ted


--- On Mon, 5/31/10, Jérémy DE ROYER <[email protected]> wrote:

From: Jérémy DE ROYER <[email protected]>
Subject: Re: ajax date picker and javascript...
To: "Theodore Petrosky" <[email protected]>
Cc: [email protected]
Date: Monday, May 31, 2010, 11:05 AM
Hello,

http://marcgrabanski.com/pages/code/jquery-ui-datepicker
works great for us.

Take care that as it works with jquery (http://jquery.com/) you have to always use
jQuery.noConflict(); to avoid... conflict with prototype.

Jérémy

Le 31 mai 10 à 16:56, Theodore Petrosky a écrit :

I see from the docs that the AjaxDatePicker responds
to onDateSelect "JavaScript to execute when a date is
selected from the calendar".

I checked the ajax examples and can not locate any
example of the executing of a javascript from the
datepicker...

I have never added any javascript to my apps and I
hope to find an example....

Ted



_______________________________________________
Do not post admin requests to the list. They will be
ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net

This email sent to [email protected]










_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to