SaneMethod / jquery-ajax-localstorage-cache

Ajax Cache backed by localStorage for jQuery
Other
379 stars 79 forks source link

Doenst work with dataType XML #48

Open aaroniker opened 6 years ago

aaroniker commented 6 years ago

Hi, thanks for this cool extension for $.ajax :)

But it doesnt work with dataType: "xml" I get the following error:

Uncaught Error: Syntax error, unrecognized expression: [object XMLDocument]

Greetings

Edit Does work if i use dataType: "html" and parse xml using $.parseXML(respond) afterwards Maybe just add this to Notes :)