Станислав Анисимов 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
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
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,
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