When Modernizr runs, it removes the “no-js” class and replaces it with “js”. This is a way to apply different CSS rules depending on whether or not Javascript support is enabled.
More Related Contents:
- JavaScript on the bottom of the page?
- How do you read CSS rule values with JavaScript?
- HTML5 Local storage vs. Session storage
- Why is the value of my input always empty if I store it in a variable?
- How to prevent IFRAME from redirecting top-level window
- How to call a REST web service API from JavaScript?
- Javascript trick for ‘paste as plain text` in execCommand
- How do I make an HTML text box show a hint when empty?
- How to get number of rows in using JavaScript?
- How to read xml file contents in jQuery and display in html elements?
- jQuery click anywhere in the page except on 1 div
- FormData.append(“key”, “value”) is not working
- How to automatically allow blocked content in IE?
- event.offsetX in Firefox
- How to select all text in contenteditable div?
- shorthand http:// as // for script and link tags? anyone see / use this before?
- Javascript – Dynamically assign onclick event in the loop
- javascript code not work in HEAD tag
- ‘img-src’ was not explicitly set, so ‘default-src’ is used as a fallback
- Finding number of lines in an html textarea
- Getting “Uncaught ReferenceError: google is not defined” error using Google Maps API
- How do I determine if a checkbox is checked?
- Impossible to hide navigation bars in Safari iOS 7 for iPhone/iPod touch
- Trigger a button click inside an iframe [duplicate]
- How to determine if user selected a file for file upload?
- Remove scrollbar but not scrolling functionality [duplicate]
- How can I get DPI from image in JS?
- converting a javascript string to a html object [duplicate]
- Get All Elements in an HTML document with a specific CSS Class
- How to pass parameters through iframe from parent html?