阅读背景:

Javascript元素名称更改还原为原始

来源:互联网 

JavaScript name change of cloned input element "terminal0" isn't saving and/or reverting back to original name after function ends. All other name/id changes work but first element name change reverts back after function completes. Even the first element "terminal0" id change works successfully. I've tested and confirmed name change does work before function exits by placing an alert(cTerm.name) at the end of it. Anyone know reason why name change isn't working for first input element?JavaScript name change of cloned input element




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: