JQuery to show the file path on different input tag
I have a file input and an Apply to all
button. If I click on the button, the location in the file field should be shown on a different file field. It should be done using JQu开发者_运维技巧ery. Please help.
$("input[name='option_image[]']").each( function (){
$(this).val($("#bulk_image").val()); });
You can't apply a path to a file uploader in the browser via javascript, for security reasons.
精彩评论