new Ajax.Request(url,{
method: 'post',
onComplete: function(transport) {
tab.linkedPanel.update(transport.responseText);
}
});
tab.linkedPanel is an empty <div>.
On Jul 13, 10:41 am, Diodeus <[EMAIL PROTECTED]> wrote:
> Please post the code for your ajax call.
>
> On Jul 12, 5:10 pm, James Starmer <[EMAIL PROTECTED]> wrote:
>
> > Hello everyone,
> > Here is my problem. I have a page that gets fetched by an ajax
> > request. I have
>
> > onComplete: function(transport) {
> > $('element').update(transport.responseText);
>
> > }
>
> > The update in turn calls evalScripts and runs all of the javascript
> > inside of script (<script></script>) tags, but I also have linked
> > javascript files (<script src="whatever.js"></script>) in the
> > requested page that evalScripts doesn't handle.
>
> > I'm just wondering why prototype doesn't handle these included
> > scripts? Is it a conscious design decision?
>
> > Thanks,
> > James Starmer
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---