[Prototype-core] Ajax event observers (not responders)

2007-07-11 Thread Brandon Keepers
I love the Form.request method. But in pursuit of Javascript-fu, I've come up with an interesting (to me) idea. I often have a situation where I'm hijacking a set of forms on a page, like anything with the class 'new', and performing an Ajax request on the form. Usually I would also

[Prototype-core] Re: Bug in the Prototype's String.unescapeHTML()?

2007-07-11 Thread Vladimir V. Perepelitsa
Done: http://dev.rubyonrails.org/ticket/8951 On 7/11/07, jdalton [EMAIL PROTECTED] wrote: On Snap! Tricky, they define it again for WebKit and IE. Follow the info here : http://www.prototypejs.org/contribute and create a ticket 8) You can post back here with a link to the ticket if you

[Prototype-core] Re: Bug in the Prototype's String.unescapeHTML()?

2007-07-11 Thread jdalton
I modified a similar ticket dealing with code in the same area: http://dev.rubyonrails.org/ticket/8851 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to

[Prototype-core] : in '#myForm:myText' is not recognized when using CSS selector function

2007-07-11 Thread kangax
I stumbled upon a href='http://www.zachleat.com/web/2007/07/10/ javascript-frameworks-and-jsf/'this page/a which compares how various JS frameworks interpret ':' inside a CSS selector function. I don't know if it's easy to implement, but would definitely be a good addition (as of now only jQuery

[Prototype-core] Re: : in '#myForm:myText' is not recognized when using CSS selector function

2007-07-11 Thread Andrew Dupont
Have you tried *[id='myForm:myName']? That ought to work, though it wouldn't surprise me if it did not. A colon is a valid character in ID attributes, so it should be supported. Part of me thinks that the attribute selector approach (if it works) would be sufficient -- but another part of me

[Prototype-core] Re: Inheritance: your thoughts?

2007-07-11 Thread Jeff Watkins
Alex, I like the class definition function method with the exception of returning a hash. It seems like it ought to be one way or the other. But then, I've never had any problem just going long-hand with my class definitions. One small quibble, I think it might be a little more clear were

[Prototype-core] Re: : in '#myForm:myText' is not recognized when using CSS selector function

2007-07-11 Thread kangax
Andrew, I just did some quick testing http://yura.thinkweb2.com/selectors-test/ (the results are printed into firebug console) It looks like using attribute to reference such things pretty much solves the problem : ) --~--~-~--~~~---~--~~ You received this

[Prototype-core] Re: ContextMenu (right click menu)

2007-07-11 Thread kangax
Interesting... I tried doing something like this some time ago... Take a look at my implementation - http://yura.thinkweb2.com/scripting/contextMenu/ maybe you'll find something useful --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Prototype-core] Re: Inheritance: your thoughts?

2007-07-11 Thread Alex Arnell
On Jul 11, 10:18 am, Jeff Watkins [EMAIL PROTECTED] wrote: Alex, I like the class definition function method with the exception of returning a hash. It seems like it ought to be one way or the other. But then, I've never had any problem just going long-hand with my class definitions.