test return values of user’s browser

var $temp = $('<div style="background-color:#ffffff"/>').appendTo('body');
var thisBrowserWhite = $temp.css('background-color');
$temp.remove();
console.log(thisBrowserWhite);

Leave a Reply

You must be logged in to post a comment.