阅读背景:

添加到innerHTML而不破坏表单内容

来源:互联网 

I have a form that is generated via ajax based of a multi-file uploader (swfupload). It adds more form elements to a given dom element upon the completion of each file uploaded. This thus gives me a problem. If i selected 5 files to upload, the first file will generate a form which I will start entering data in, however, when the 2nd file is completed uploading, it clears the previous entered data in the form elements and also appends the 2nd form elements.I have a form that is generated via ajax based




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

分享到: