I have sth like drawing app. User can save projects and then load them. When I load first time one file (for e.g. project1.leds) make some changes in the app but no saving i
Try the below code, It should work. While clicking the upload button clear the existing value.
$("#menu-open-file").click(function(e){ $('#menu-open-file').val(''); }