[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
On Tuesday 17 February 2009, Alexandre Plennevaux wrote: i suppose that you change try specifying the dataType as script that your ajax calls expect: Taken from: http://docs.jquery.com/Ajax/jQuery.ajax dataType The type of data that you're expecting back from the server. If none is

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Alexandre Plennevaux
you can use load, you just have to setup the ajaxSetup controlling your ajax main parameters so you set it to your liking, then you call the load(). It is built on top of the ajax method to ease its use. See: http://docs.jquery.com/Ajax/jQuery.ajaxSetup#options On Wed, Feb 18, 2009 at 5:18 PM,

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
On Wednesday 18 February 2009, Alexandre Plennevaux wrote: you can use load, you just have to setup the ajaxSetup controlling your ajax main parameters so you set it to your liking, then you call the load(). It is built on top of the ajax method to ease its use. See:

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Alexandre Plennevaux
see if this resolves your issue: ... $(document).ready(function(){ $.ajaxSetup( { dataType: 'script' }) ; $(#dynamic_content).load(myscript,task=entry, function(resp,stat,xhr){ //alert(resp); // leave for testing }

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
On Wednesday 18 February 2009, Alexandre Plennevaux wrote: see if this resolves your issue: Hi Alexandre: Thanks very much for your help on this issue, but it still does not work. However, I already have a workaround to enable functionality - and in the future - a different approach

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-17 Thread Alexandre Plennevaux
i suppose that you change try specifying the dataType as script that your ajax calls expect: Taken from: http://docs.jquery.com/Ajax/jQuery.ajax dataType The type of data that you're expecting back from the server. If none is specified, jQuery will intelligently pass either responseXML or