id of an element in jquery run time




Asked on November 12, 2013
How to set id of an element in jquery run time ?



Replied on December 11, 2013
$(element).attr("id","test");


Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us