Question and answer is powered by AnsPress.io
I have implemented jQuery in my project. Here I want to change a HTML tag ID.
I want to put new ID name to replace old ID name in a HTML tag of HTML division tag in jQuery. How can I replace old ID name to new ID name.
Replace ID name of HTML table using jQuery, follow this example:
<script type=”text/javascript”>
$(‘#Idname’).attr(‘id’, ‘ReplaceIdName’);
</script>