Question content:
When using fusioncharts, you may want to click on a part of the Chart on a page such as demo.html, and then display the details of this part.
Fusioncharts has setDataXML and setDataURL. These two methods are used to set data. However, there will be garbled code problems (which may occur in AJAX situations). Children's shoes that have been used should understand.
I won’t elaborate on the specific details.
How to deal with it.
If the return content of your Ajax request is garbled, use Jquery.ajax directly.
var strURL='xxxx'
data: strURL,
success: function (data) {
});
}
Literal is gone ..