All Reset ID

How to Change ID of DOM element using jQuery

In this short and quick post, find out how to change or reset ID of any HTML DOM element using jQuery. To Change/Reset element ID, just need to change the value of "id" attribute. Below jQuery code changes ID of "dvDemo" element to "dvDemoNew". $('#dvDemo').attr('id', 'dvDemoNew'); See result below See Complete Code Feel free to […]
Read the rest of this entry »

Responsive Menu
Add more content here...