tags:

views:

99

answers:

1

I read the specs on http://api.jquery.com/jQuery.ajax/ and found that depending on the dataType, scripts are automatically evaluated for every response. Is it then possible to force jQuery not to evaluate the script parts of the response?

+1  A: 

Set dataType to text.

SLaks
will it still be HTML format? i mean the response definitely will be HTML (those which needs DOM manipulation before i append it to the actual page)
lock
@lock then you should use the data type `xml`
azatoth