Get Defined Attribute Value Using Jquery
Get user defined attribute value using jquery like name, id and other attributes
<input type="text" value="XYZ" name="Name" id="Name"
myAttribute="This is Name Of Employee" />
<script type="text/javascript">
$(document).ready(function(e) {
console.log($("#Name").attr('myAttribute'));
});
</script>
Comments
Post a Comment