jQuery: The Write Less, Do More JavaScript Library

 « Return to Thread: reload an SWF object from jquery

reload an SWF object from jquery

by pacodelucia :: Rate this Message:

Reply to Author | View in Thread


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

 « Return to Thread: reload an SWF object from jquery