...

View Full Version : Best method for loading XML file, JS vs jQuery



m2244
11-28-2012, 04:26 PM
Hello,

I am trying to load an XML file for use in a scenario type animation. What is the best way to load the file and periodically use the data in the file?

Use on most browser, maily IE, FF, etc.

Thanks for the help.

rnd me
11-28-2012, 06:53 PM
What is the best way to load the file and periodically use the data in the file?

convert it to json and save it next to the xml file.

Dormilich
11-29-2012, 08:24 AM
PS. jQuery = JS

VIPStephan
11-29-2012, 03:06 PM
PS. jQuery = JS

Your statement is logically wrong. You used an assignment operator when you need a comparison operator. It must read jQuery == JS (or if we were “strict” even jQuery === JS). :D

rnd me
11-30-2012, 12:37 AM
It must read jQuery == JS (or if we were “strict” even jQuery === JS). :D

that's not right though, because that would imply that JS===jQuery, which surely isn't true.

Your statement is logically wrong. You used a comparison operator when you need an in operator.


JS in jQuery // true
jQuery in JS // false



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum