showing results for - "change name of html element javascript"
Javier
03 Jul 2017
1function weekclick(id) {    
2    document.getElementById(id).setAttribute('name', 'w1-1');
3}