By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,110 Members | 990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,110 IT Pros & Developers. It's quick & easy.

ajax problem

P: 31

I have looked endlessly for a solution to my problem but I have found no solutions

I have a problem where I am using ajax to basically pull values of words out a text file stored on a server on a *DIFFERENT* domain, and I want to pull the words back into a drop down menu.

I was originally doing it by passing the words into the page from my server through the URL, but if the page has a lot of words which are matched in my processing, it causes the URL length to become too long and cause the server to crash.

But i as you can probably now guess I get the error where the XMLHTTPRequest cannot call of script off another domain.

On my external server there is a wiki where I can't tamper with any of the backend code, which means I am limited to only being able to place javascript on the pages. My server has apache running on it with PHP.

I have been told to try using some librarys such as ajaxextended, but this has dissapeared and no place to be found

Does anyone have any ideas or recommendations about this problem

Feb 7 '08 #1
Share this Question
Share on Google+
2 Replies

P: 130
you need to use iframe. the solution is abit tricky but clear....

read this
help me in my first "cross site ajax"
hope it helps
Feb 7 '08 #2

P: 31
This is a cool idea, I have got it reading in a delimited text file into the IFRAME but I don't get how i can read the contents of the IFRAME into my page using javascript as there both coming from completely different domains.
Feb 8 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.