Using the code
Step 1: Include
jqueryWin8.js file in your project.
Step 2: Type this <div> in your HTML file
<div id="test"><link/><table></table><a href='http://www.codeproject.com/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/></div>
jqueryWin8.js in your HTML file.
Step 3: Use jQuery
$() and other features in your app.
Step 4: Profit
The code works because instead of using
div.innerHTML() function we are explicitly making a "test" div which
jQuery uses to test for some support.