read custom attribute jquery code example
Example 1: jquery get custom attribute
var userType = $("input[name=ctrl_CustomerType]:checked").attr('xmlvalue');
Example 2: jquery get custom attribute
var userType = $("input[name=ctrl_CustomerType]:checked").attr('xmlvalue');
alert("xmlvalue is: " + userType);