:: Forum >>

dynamically change url to get csv file from

Can someone provide a brief example of how to dynamically change the url used to get a .csv file from?


In my project (kind of (Very) large)

I set the url and do a request when creating the table in the body.
I later on, depending on user input, do something like:

table.setProperty("URL", "newfilename");

it is fine with me setting a new URL, but when I do the request it fails. IE has an error that doesn't seem to correspond to the right line say permission denied. but if I set the url to newfilename to begin to it works fine (but that is not my goal).

what I want is for it to have an inital grid contents based on one file and then a different based on user input into a text box.

any help/examples please?
any known issues with trying to do this?
Friday, September 30, 2005
Also the table variable is defined globally, and used in the <body> <script> during initial writing of the table to the default .csv and then is used in the <head> <script> in the later function.

The error that is given:

Error: uncaught exception: Permission denied to call method XMLHttpRequest.open
Friday, September 30, 2005
Sorry for my english.
i think you have problem with Ajax methode called by table.request methode.
For security reasons IE can't access to another domain when you try to use HTTPRequest (Ajax).
I hope can help
Wednesday, October 5, 2005

This topic is archived.

Back to support forum

Forum search