I used this following code to upload file to server, but the file is not uploaded.
Html:
&l
Your javascript isn't referencing the correct file input control.
You need to change this var opmlFile = $('#opmlFile')[0];
To this var opmlFile = $('#myFile')[0];