JavaScript Form Submisssions
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



JavaScript Form Submisssions Expand / Collapse
Author
Message
Posted 3/10/2008 11:12:18 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/14/2008 4:28:46 AM
Posts: 4, Visits: 9
Hi,

We are using Drill-Down feature of Fusion Charts v3 as JavaScript function call.

In essence the javaScript function simply submit form to <IFRAME> window.

It works under FF, but under IE form is not submitted.

Is this known issue? If yes , what is solution?

Kind Regards,

Alex M

TPTP

Post #5009
Posted 3/11/2008 7:10:58 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:56:35 AM
Posts: 706, Visits: 1,143
Hi,

There is no such issue. To check whether the JavaScript function is really being called or not can you please add an alert(134123); . If its  working, it might be some crossbrowser issue calling the IFRAME.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5015
Posted 3/12/2008 10:43:46 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/14/2008 4:28:46 AM
Posts: 4, Visits: 9
Thanks.

I have tried you suggestion and it appears that JavaScript function was not called.

Again it worked under FF and even worked under IE7 if the Report Page (simple HTML page which contains IFRAME) requested directly in browser.

But if the Report Page is requested in one of the frame windows - nothing happened - JavaScript window alert did not appear.

Then I have added a button to the form and called the JavaScript function by clicking the button - it worked, form was submitted and everything was working as intended.

Then I have change "target" attribute of the form which was pointing to IFRAME, thinking that it may confuse things, but it did not help.

It seems the issue is with calling JavaScript from Fusion Charts if the page is requested in one of the frame windows.

Any ideas?

Many thanks. 

TPTP

Post #5034
Posted 3/13/2008 12:53:26 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:56:35 AM
Posts: 706, Visits: 1,143
Hi,

Could you please send us the code (HTML pages) that you are using?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5040
Posted 3/13/2008 3:46:27 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/14/2008 4:28:46 AM
Posts: 4, Visits: 9
Hi,

No problem.

You may access the report page at http://content.emarket2.com/fc/report.htm

and the same page in frame window at http://content.emarket2.com/fc/frame.htm

Many thanks.

TPTP

Post #5047
Posted 3/13/2008 6:05:43 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:56:35 AM
Posts: 706, Visits: 1,143
Hi,

We found that the charts are being loaded from another domain. Due to some security issue of IE (may be cross-domain security patch in frames which makes the frame read-only to componets of other domains), Flash movie loaded from another domain can not interact with active content or javascript of the page of another domain. We tested putting all (swf , HTML, js) files in the same domain (within frame) and it worked fine.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5050
Posted 3/14/2008 4:29:31 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/14/2008 4:28:46 AM
Posts: 4, Visits: 9
Hi,

It is working!

Thank you very much for your help.

Regards

TPTP

Post #5073
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:05am


Execution: 0.047.