Hello, I'm trying to change a element's name and id. I've managed to change the ID but it seems that jQuery can't change the name.
here is my code:
$("#custom_"+i).attr("id", "custom_"+cnt ); // working
$("#custom_title_"+i).attr("name", "custom_title_"+cnt ); // not
working
$("#custom_content_"+i).attr("name", "custom_content_"+cnt ); // not
working
is there another way to change an element's name?
cheers,
bigo

