• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trying to build a ModernLook DateTimePicker: JQuery and Prototype together?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trying to build a ModernLook DateTimePicker: JQuery and Prototype together?


  • Subject: Trying to build a ModernLook DateTimePicker: JQuery and Prototype together?
  • From: Johan Henselmans <email@hidden>
  • Date: Thu, 23 Dec 2010 18:25:34 +0100

I tried to build a DateTime Picker based on David LeBer's DatePicker code in ERCoolComponents/ERModernDirectToWeb and the Anytime datetime picker from

http://www.ama3.com/anytime/

I had it working more or less (the picker showed up, the values were picked up in the WOTextField), using ERJQuery to get the required jquery.js, but it had one rather annoying bug: all the other buttons on the ModernLook form stopped working.

I googled a bit around for an explanation, and apparently there are some conflicts between prototype.js and jquey.js, see http://docs.jquery.com/Using_jQuery_with_Other_Libraries

I tried to solve it by including the brilliant

<script type="text/javascript">
	jQuery.noConflict();
	var $j = jQuery;
</script>

script, but that did not seem to work.

Did anybody else encounter the problem, and found a solution?

(I have a working datetime picker now based on http://home.jongsma.org/software/js/datepicker, which I will send to Jira as soon as I have cleaned up my copy/paste stuff...)


Johan Henselmans
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: how to advance my WOKnowledge
  • Next by Date: Re: how to advance my WOKnowledge
  • Previous by thread: Re: NPE at at er.modern.directtoweb.components.buttons.ERMDRemoveRelatedButton.showRemoveButton(ERMDRemoveRelatedButton.java:197) with isEntityDeletable=false
  • Next by thread: 10.6.5 breaking WOAdaptor
  • Index(es):
    • Date
    • Thread