ArnisR Posted October 17, 2010 Report Share Posted October 17, 2010 Kā ar jQuery panākt, lai tieši pēc faila izvēles, input[type=file] vērtība attēlotos konkrētā tagā: <div class="filename"></div> Lūk, JS kods: var fileName = $("input[type=file]").val(); $(".filename").text(fileName); Quote Link to comment Share on other sites More sharing options...
briedis Posted October 17, 2010 Report Share Posted October 17, 2010 http://stackoverflow.com/questions/81180/how-to-get-the-file-path-from-html-input-form-in-firefox-3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.