jQuery and Windows 8 JavaScript Metro Style Apps

pfeilbr picture pfeilbr · Sep 14, 2011 · Viewed 11.2k times · Source

Can jQuery be used in Windows 8 Metro-style apps developed using the JavaScript API? I'm looking at the samples, and there's a lot of standard DOM manipulation like document.getElementById, addEventListener, etc. I'd like to use jQuery for productivity.

Answer

Andrew picture Andrew · Sep 14, 2011

The $ is not magic. jQuery is just a javascript library. It should run fine.

The only thing that might not work are cssHooks which won't take into account any 'quirks' of their environment.

So yes, it will work, if you trust Microsoft to produce an environment that follows the HTML/CSS/JS specifications.

Do you feel lucky?