how to change the name of tags in html page using javascript code example
Example: change name of html element javascript
function weekclick(id) {
document.getElementById(id).setAttribute('name', 'w1-1');
}
function weekclick(id) {
document.getElementById(id).setAttribute('name', 'w1-1');
}