Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Detect compatibility of the new HTML5 tag <mark> with jQuery.
Use the following to check the compatibility of the HTML5 tag <mark>:
var $myEL = $('<mark>');
$myEL.appendTo('body');
var bgColor = $myEL.css('backgroundColor');
if (/rgb\(255\, 255\, 0\)/.test(bgColor))
return true;
else
return false; Advertisements
