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, Tim Johnson <t...@johnsons-web.com> wrote:
>
> 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 specified, jQuery will intelligently pass either responseXML or
>> responseText to your success callback, based on the MIME type of the
>> response. The available types (and the result passed as the first
>> argument to your success callback) are:
>  Thank you. That clears up a lot. But the question that remains is that
>  two different types of data are returned:
>  1)Script
>  2)Text
>  The answer may be in the mime type. $()load is so much easier to use.
>  I will research futher.
>  regards
>  tim
>
>
>

Reply via email to