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
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,
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:
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
}
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
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
6 matches
Mail list logo