[Proto-Scripty] Prototype 1.7 validation/replace NaN message number validation/error wrong input

2012-05-05 Thread Edward Nygma
Hello welcome to my application to see the problem please visit the link above, please click 'login' where the user and pass are already entered. You will be taken to the dashboard, then click the blue link 'Nick Fish' and on the following page 'Edit invoice'. You should see a large form for invo

Re: [Proto-Scripty] Prototype 1.7 validation/replace NaN message number validation/error wrong input

2012-05-05 Thread Walter Lee Davis
On May 2, 2012, at 6:35 AM, Edward Nygma wrote: > > > Hello welcome to my application to see the problem please visit the > link above, please click 'login' where the user and pass are already > entered. You will be taken to the dashboard, then click the blue link > 'Nick Fish' and on the follo

[Proto-Scripty] Enumerations and Invoke

2012-05-05 Thread kstubs
How do I implement: I have a function I have an enumeration On the enumeration I want to invoke my function My function should either receive the current enumerable object as first parameter - or - within the context of the function "this" should be the current enumerable item. Suppose I have a

Re: [Proto-Scripty] Enumerations and Invoke

2012-05-05 Thread Walter Lee Davis
Take a look at methodize, or you can do this: Element.addMethods({ myFunction: function(div){ var div = $(div); //do whatever here return div; //for chaining } }); Walter On May 5, 2012, at 10:57 PM, kstubs wrote: > How do I implem

Re: [Proto-Scripty] Enumerations and Invoke

2012-05-05 Thread kstubs
Thanks! This should work. On Saturday, May 5, 2012 8:50:58 PM UTC-7, Walter Lee Davis wrote: > > Take a look at methodize, or you can do this: > > Element.addMethods({ > myFunction: function(div){ > var div = $(div); > //do whatever here >