У меня есть входные теги с пользовательским атрибутом: -
<input name="grp1" type="radio" myUDF="value1" />
<input name="grp1" type="radio" myUDF="value1" />
Как мне извлечь значение myUDF?
Сценарий: -
$("input[name=grp1]").click(function(){
this.attr("myUDF"); // This throws the exception Object doesnt support this prop or mehod
});