[Prototype-core] Re: isNumber or Not A Number ??

2008-09-04 Thread Christophe Porteneuve
Станислав Анисимов a écrit : Shouldn't Object.isNumber('111') be true? Nope. '111' is a String. -- Christophe Porteneuve aka TDD [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core

[Prototype-core] Re: isNumber or Not A Number ??

2008-09-04 Thread kangax
On Sep 4, 5:18 am, Станислав Анисимов [EMAIL PROTECTED] wrote: Is't this a rigth way to define types: 111  is Integer and Number '111'  is Number and String 'a111' is String Only `111` is a number primitive. The rest two are plain strings. To find out if a value can be type-converted into a

[Prototype-core] Re: Array.prototype...

2008-09-04 Thread Wiktor Ihárosi
Hi Simon, There is a nice explanation in the official prototype documentation about this issue. http://prototypejs.org/api/array I am sure that this will not change in the future, so you should redesign your application if you want to use prototype. Sincerely, Wiktor On Sep 5, 1:44 am,

[Prototype-core] Ajax.InPlaceEditor onEnterEditMode callback

2008-09-04 Thread Jeremy W
Anybody know the rationale for putting the triggerCallBack for this so early in the enterEditMode function? (this is in controls.js) I wanted to use a CalendarDateSelect with InPlaceEdit and had to move this trigger line down a ways. Otherwise the form doesn't exist at the time the callback