hi,

(i'm new on ajax and prototype)

i have this:

new Ajax.Request('./',
                { method: 'post',
                        parameters: $('resultsextras').serialize(true),
                        onSuccess:
                                function(transport){
                                        var html = transport.responseText;
                                        //html = the content of #result
                                        $('AJAXresults').update(html );
                                        $('AJAXresults').innerHTML;
                                 }

                } )

AND want extrat the content from a div #result in the var html, but i
don't know how. I search the documentation of prototyte but i not find
the answer.

(sorry for my english)


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to