[Prototype-core] Re: Prototype: AIR compliant?

2008-04-04 Thread BenKeen
Hey John, thanks for looking at this. Are the evals the only thing that AIR takes issue with, or does it "break the specs" in other ways? Yes, I ran into a few problems - I seem to remember it was with the $$ utility function, but I could be wrong... of course, now I've jquerified my script so I d

[Prototype-core] Re: Prototype: AIR compliant?

2008-04-04 Thread BenKeen
I've just done a little testing and everything seems to work fine - at least, everything I've tried. It's possible I was high and/or drunk. I'm obviously a little reluctant to re-port everything back to using Prototype, but I'll be sure to use Prototype on my next AIR app and see how it holds up.

[Prototype-core] Accessing form fields within container element

2009-04-19 Thread BenKeen
Howdy folks, Quick question: is there a way to extract all elements within a specific node within a form? What I'm trying to do is get a list of form fields (select,radio,text input et al) within a particular cell or element. I can always achieve it by parsing the DOM element contents; I just

[Prototype-core] Re: Accessing form fields within container element

2009-04-26 Thread BenKeen
Thanks for all the help, guys. Interesting stuff! Lots of good tips. In this particular case, the order of the returned nodes *is* important. So I'll pursue a custom DOM approach. Diego - thanks for the tip about the "form" property. Am I right in assuming that ONLY form fields contain that prop