top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is feature detection?

+1 vote
290 views
What is feature detection?
posted Nov 19, 2015 by Sathyasree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Feature detection detect wheather some new feature of HTML 5 is running on the given browsers or not?

Feature detection can done by two ways:
1. Using modernizr.js
2. Using Simple JavaScript

if(typeof(Storage) !== "undefined") {
Code for localStorage/sessionStorage.
} else {
Sorry No Browser support for Storage }
answer Nov 19, 2015 by Shivaranjini
...