[jQuery] reload an SWF object from jquery
I am using Open PHP chart. It uses a flash object to display charts. I
would like to update this swf object via ajax.
I have a problem accessing the object using jquery selectors:
Here is the HTML code
<object id="reportChart" ...>
//access via pure javascript
document.getElementById('reportChart').reload("charts/
genrate_chart.php"); // this works :-)
//access via jquery
$("reportChart").reload("charts/genrate_chart.php") // does not work
Apparently $("reportChart") is not returning really an SWF "object".
Anyone has an idea if this possible with jquery?
thanks