How to add attributes to an HTML element using jQuery By -adminPosted on February 21, 2020February 21, 2020Posted in jQuery1 CommentComplete Program for adding required attribute, and setting some value in html element using jquery Example 1: Example 2: