Wednesday, July 1, 2009

[jQuery] Re: reload an SWF object from jquery

Any chance that there are 2 items with id / name "reportChart" ?

L

pacodelucia wrote:
> Hi
> The code I have written in my post was some how pseuodo code. That is
> the reason why it contains so much typing errors. Sorry for that
>
> Here is the code directly copied from my js file:
>
> document.getElementById('reportChart').reload("charts/
> pie_chart.php"); //works
> $("#reportChart").reload("charts/
> pie_chart.php"); // does not
> work
>
> I am using firefox 3.5
>
> On Jul 1, 5:03 pm, Liam Byrne <l...@onsight.ie> wrote:
>
>> Is there an error / typo in the URL being requested ?
>>
>> Should it be "charts/gen_*e*_rate_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...@t-online.de> 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...@t-online.dehttp://olaf-bosch.de/http://ohorn.info/http://www.akitafreund.de/
>>>> -----------------------------------
>>>> ------------------------------------------------------------------------
>>>>
>>>> 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
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> 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
>>>>
>>>>

No comments: