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