0

this is quite a simple question hopefully.

Our client currently has a Flash banner ad on their site which they can change the text size, colour, position etc. by editing an XML file. They want to scrap flash and use JavaScript and jQuery. Now, as long as the XML file is at a readable URL I should be able make an AJAX request for the file and use it. Is that correct?

Many thanks

2 Answers 2

1

Yes. http://api.jquery.com/jQuery.get/
EDIT: Of course I forgot about the same origin policy: http://en.wikipedia.org/wiki/Same_origin_policy

Sign up to request clarification or add additional context in comments.

Comments

0

Yes … and No: The URI must be on the same host (and port, etc, etc) or run into the Same Origin Policy.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.