[jQuery] Re: Returning Javascript

2009-02-17 Thread hj
To restate: > I have setup my application to work so all pages are loaded via ajax, > using anchor's as navigation. However on some pages that i return > using the AJAX i want to be able to run code. So this code is the text of an AJAX response, correct? > >         >         Title: >        

Re: FW: [jQuery] Re: Returning Javascript

2009-02-17 Thread Aaron Gundel
> Behalf Of James > Sent: 17 February 2009 21:25 > To: jQuery (English) > Subject: [jQuery] Re: Returning Javascript > > > I'm not understanding what you're trying to do. > You just want your AJAX to return Javascript code and have it > executed? > >

FW: [jQuery] Re: Returning Javascript

2009-02-17 Thread Sam Fleming
? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of James Sent: 17 February 2009 21:25 To: jQuery (English) Subject: [jQuery] Re: Returning Javascript I'm not understanding what you're trying to do. You just want your AJAX

[jQuery] Re: Returning Javascript

2009-02-17 Thread James
I'm not understanding what you're trying to do. You just want your AJAX to return Javascript code and have it executed? If so, you can use the eval() function, but be careful of the source of your Javascript. On Feb 16, 10:30 pm, "s.flemin...@googlemail.com" wrote: > I am trying to write my fir