Well, found it. FWIW...

lowpro has a jquery plugin $.kreate() that ports Prototype Class.Create
().

On Jan 6, 7:12 pm, seasoup <seas...@gmail.com> wrote:
> I'm converting some Prototype javascript and have almost completed it,
> but am running into an issue with the Class.Create() Prototype method.
>
> In prototype:
>
> var DatePicker = {};
> DatePicker = Class.create();
> DatePicker.prototype = {
>   initialize:function(triggerElement, formElement) { ...
>
> allows the above to be called like this:
>
> var myPicker = new DatePicker($('aDate'),$('testDate'));
>
> Is there a way in jQuery to either simulate the above or do what it
> intends, which is to have multiple DatePickers on the same page?
>
> Thanks!

Reply via email to