jQuery: The Write Less, Do More JavaScript Library

 « Return to Thread: reload an SWF object from jquery

Re: reload an SWF object from jquery

by Liam Byrne :: Rate this Message:

Reply to Author | View in Thread

Is there an error / typo in the URL being requested ?

Should it be "charts/generate_chart.php" ?

L


pacodelucia wrote:
sorry for the type error. I meant really  that
$("#reportChart").reload("charts/genrate_chart.php");

does not work with the # selector.


On Jul 1, 3:51 pm, Olaf Bosch olaf.bo...@... wrote:
  
pacodelucia schrieb:

    
Apparently $("reportChart") is not returning really an SWF "object".
Anyone has an idea if this possible with jquery?
      
This is not a correct Selectot for ID, try so:

//access via jquery
$("#reportChart").reload("charts/genrate_chart.php"); // does not work

# for ID, . for CLASS

--
Viele Grüße, Olaf

-----------------------------------
olaf.bo...@...
-----------------------------------

No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.1/2212 - Release Date: 07/01/09 05:53:00

 « Return to Thread: reload an SWF object from jquery