We usually use the file control to upload files. To preview, sometimes the page will be refreshed. As a result, the file control is cleared. Many people ask if they can not clear or reassign the value. This is impossible for security reasons. So how to preview without refreshing? Here I will write down the method I used.
Select page: