Recently doing a project that involves the uploading excel, because the technology is not good, it uses a form submit the form, the effect is achieved, but the user withdrawals are not perfect, twists and turns, with the realization of Ajax
code show as below:
HTML:
JS: