Bug Tracker

Modify

Ticket #3639 (closed bug: wontfix)

Opened 4 years ago

Last modified 4 years ago

empty value when clone file input field in IE

Reported by: kakilang Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc: kakilang
Blocking: Blocked by:

Description

It works well in other browsers, except IE.

('#submit').submit(function(){

$('#form2').append($('#photo').clone());

});

<form id="form1"> <input type="file" name="photo" id="photo"> <input type="submit" id="submit"> </form>

<form id="form2"> </form>

Change History

comment:1 Changed 4 years ago by flesler

  • Cc kakilang added
  • need changed from Review to Test Case
  • Component changed from unfilled to core
  • Owner flesler deleted

The inputs are missing the closing dash. Can you turn this loose data into a formal test case ? a minimalistic html file with the requires html and js to reproduce the problem.

Use this link to include jQuery:  http://code.jquery.com/jquery-nightly.js

comment:2 Changed 4 years ago by brandon

  • Status changed from new to closed
  • Resolution set to wontfix

This is a limitation of cloning most form elements in IE and we are unable to set the value of the file input via javascript due to security restrictions.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.