[Prototype-core] Element.select('form_node', 'input') Does not work...

2009-09-11 Thread EMoreth
, as : Form.getUnputs('text', 'name*=XXX'); Is there a real glitch or it really is supposed to not work on form Elements ?? Regards, EMoreth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group

[Prototype-core] Re: element.up() Issue

2008-10-10 Thread EMoreth
I solved that... Sorry this was a code mistake... i don't know why but a function that was called before used Element.remove() before this code and the beginning of the code was still running... EMoreth On Oct 9, 9:01 pm, EMoreth [EMAIL PROTECTED] wrote: I couldnt reproduce the error out

[Prototype-core] Re: element.up() Issue

2008-10-09 Thread EMoreth
).parentNode {object}DispHTMLDocument The parent node of this item seem to be the same object that document... I dont know why this is happenning, i just AjaxLoaded the html and $ ().updated on the page... Any ideas now ?? Thanks Emoreth On Oct 3, 7:05 pm, kangax [EMAIL PROTECTED

[Prototype-core] Re: element.up() Issue

2008-10-03 Thread EMoreth
posted because i had to change it to post here... ) EMoreth On Oct 2, 9:07 pm, kangax [EMAIL PROTECTED] wrote: On Oct 2, 6:37 pm, EMoreth [EMAIL PROTECTED] wrote: div class=messageItem id=someid         div class=messageTitle box_tittle                 spanSome Text/span

[Prototype-core] Re: element.up() Issue

2008-10-02 Thread EMoreth
().className messageItem I am running Wndows XP SP2 on IE7 Some information more ? EMoreth On Oct 1, 5:10 pm, kangax [EMAIL PROTECTED] wrote: On Oct 1, 2:16 pm, EMoreth [EMAIL PROTECTED] wrote: This is the third time that this happens with me... First o thought that was my

[Prototype-core] Re: element.up() Issue

2008-10-02 Thread EMoreth
Sorry.. Last prototype distribution EMoreth On Oct 2, 7:37 pm, EMoreth [EMAIL PROTECTED] wrote: div class=messageItem id=someid         div class=messageTitle box_tittle                 spanSome Text/span                 input type=button value=Remover style=padding: 0px; height

[Prototype-core] element.up() Issue

2008-10-01 Thread EMoreth
'); } target.up('.messageItem') - undefined target.up().up().up().up().up().up().up().className - 'messageItem' It cant find the element even with a correct dom tree.. is there a step number limitation or something ?? Thanks in advance... EMoreth --~--~-~--~~~---~--~~ You

[Prototype-core] Re: new swap method for elements

2008-09-23 Thread EMoreth
Shouldnt it use the parent node of both elements ?? Cause if i decide to swap 'div1' and 'div2' here ill have no nextSibling (assuming that no textNodes would be returned as siblings)... div div div id=div1/div /div div div id=div2/div /div /div EMoreth On Sep 23, 5:04

[Prototype-core] Re: Foreach Loops

2008-09-13 Thread EMoreth
Thanks a lot!! This last example was very usefull ^^ EMoreth On Sep 12, 8:08 am, T.J. Crowder [EMAIL PROTECTED] wrote: If you are searching for an Array.filter... There's also Enumerable.inject (Array mixes in Enumerable):http://www.prototypejs.org/api/enumerable/inject I wouldn't want

[Prototype-core] Foreach Loops

2008-09-11 Thread EMoreth
good for people who are used to other Typed Languages... Please tell me what you think about that.. EMoreth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email

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

2008-09-05 Thread EMoreth
Object.isNumber(nmb2) -- FALSE Object.isNumber(nmb3) -- TRUE I think that this should be the right behavior huh ?? EMoreth On Sep 4, 8:34 am, kangax [EMAIL PROTECTED] wrote: On Sep 4, 5:18 am, Станислав Анисимов [EMAIL PROTECTED] wrote: Is't this a rigth way to define types: 111

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

2008-09-05 Thread EMoreth
(+chr3 ) -- FALSE // Note that : +'15a9' = NaN but parseInt('15a9', 10) = 15; Object.isNumber(+chr4 ) -- FALSE // Note that : +'159a' = NaN but parseInt('159a', 10) = 159; Sorry for double post... A_r_e_s On Sep 5, 1:07 pm, EMoreth [EMAIL PROTECTED] wrote: Thats why im asking if NaN should

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

2008-09-05 Thread EMoreth
change the variable value) But a +'123a' returns NaN because there is no way to make it positive (different from parseInt that have a policy to get all numbers until a non number character appears and than ignore all rest) EMoreth On Sep 5, 1:52 pm, kangax [EMAIL PROTECTED] wrote: On Sep 5, 12:07

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

2008-09-02 Thread EMoreth
Could someone tell me why Object.isNumber(NaN) returns TRUE ?? Shouldnt this be false ?? EMoreth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype