title: Adding attribute at runtime
body: <p>Is this possible to add a required attribute on runtime in a textbox? I want to do validation with JS n Jquery. But my requirement is that i can not hard code required attribute. I need it to get generate on runtime.</p>