Assign ID To Elements in Web_form

How Can I Assign ID Attribute To Input Element Using Client Script in Web_form