[Rails-spinoffs] Re: responseXML not working on XML file

2008-03-29 Thread dj fant
Thanks. Appreciate the help. DJ On 3/24/08, dizzyjay [EMAIL PROTECTED] wrote: When creating an Ajax.Request('/path.xml') i don't get responseXML. I'm confused what I am doing wrong. If i change the response variable and dump responseText, it shows the file, it just doesn't recognize it as

[Rails-spinoffs] Re: Add key/value pairs to json object?

2008-03-29 Thread Christophe Porteneuve
push is for arrays, not vanilla object. Try something like this: var params = {}; … params[settings[ + counter + ]] = inputs[i].id + : + inputs[i].value; … 'should do the trick. -- Christophe Porteneuve aka TDD [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You

[Rails-spinoffs] Re: Event not triggered in IE

2008-03-29 Thread T.J. Crowder
Looking at that code, two things jumped out at me, but it wasn't either of them. :-) The third thing was more subtle: This line is missing from showLink(): $('area').stopObserving('mouseover', showLink); Consequently, as the mouse is moved over the div, showLink is fired repeatedly. I

[Rails-spinoffs] Re: Event not triggered in IE

2008-03-29 Thread Greg
Yes, this fixes the problem ! You've help me *a lot* ! Thanks you very much for your expertise. I will improve my code according to your advice. Grégory --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on

[Rails-spinoffs] Re: Add key/value pairs to json object?

2008-03-29 Thread The Dude
Awesome. Hashtable style! Thx! On 29 Mar, 10:04, Christophe Porteneuve [EMAIL PROTECTED] wrote: push is for arrays, not vanilla object. Try something like this: var params = {}; ... params[settings[ + counter + ]] = inputs[i].id + : + inputs[i].value; ... 'should do the trick. --

[Rails-spinoffs] hello

2008-03-29 Thread raj
hello friends... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Spinoffs group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send

[Rails-spinoffs] Re: combine Form.serialize with other data?

2008-03-29 Thread T.J. Crowder
Hi Geoff, Form.serialize() (with the true parameter) returns a hash; you just add things to the hash before passing it on to the Ajax.Updater. Give the form an ID (rather than a name) so you can retrieve it with $ (), and give the form fields names (rather than or in addition to IDs; form

[Rails-spinoffs] CSS Selectors dumbed down?

2008-03-29 Thread Niels Ganser
Hi everyone, I have only recently started to extensively use and thus appreciate Prototype. It sure makes an enjoyable (*gasp*!) experience out of cross browser javascripting. So thanks to everybody involved in this project! As I am only starting to dig into the codebase and leverage all of

[Rails-spinoffs] Prototype AJAX Cross Site support

2008-03-29 Thread y1426i
Hi, I wanted to know what are the possibilities of popular browsers stopping cross site ajax support? Are there any standards/security bodies working on it? Prototype is a great framework and cross site ajax seems a great practical alternative to web services to me. Any plans to have separate