I have a code to clone a input. After that I need to change the id and name it... seems that change id works fine but not the name:
jQuery("#"+inputID,addedItem).attr("id",newInputID); -> works ok jQuery("#"+inputID,addedItem).attr("name",newInputID); -> seems doesn't work Any idea?