can we get that attributes that doesen't support with the browser or not? for example pattern attribute or something like this? and is there any differnt beetween javascript and jquery for getting unsupport attribute?
var x = document.getElementById("myAnchor").getAttribute("pattern");
var x = document.getElementById("myAnchor").getAttribute("required");
var x = document.getElementById("myAnchor").getAttribute("somethin else");
i just want the value of pattern attributes , it doesn't matter pattern support or not. i just want the value of an attribute