Extracting CDATA Using jQuery
- by George L Smyth
It looks like this has been asked before, but the answers do not appear to work for me. I am outputting information from a local XML file, but the description elements is not being output because it is enclosed in CDATA - if I remove the CDATA portion then things work fine.
Here is my code:
$(document).ready(
function() {
$.get('test.xml',…