jquery Method for Determining If Placeholder Attributes Are Supported


Examples are as follows:

//placeholder Compatibility
function isPlaceholer(){
 var input = document.createElement('input');
 return "placeholder" in input;
}

The result of this function returns true or false