Side navigation
#4039 closed bug (duplicate)
Opened February 02, 2009 01:14AM UTC
Closed February 03, 2009 01:45AM UTC
Last modified February 03, 2009 04:03AM UTC
Error updating form attributes in IE
Reported by: | malsup | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3.2 |
Component: | core | Version: | 1.3.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
IE issue:
If a user creates a form with inputs named "action" or "method" jQuery fails when attempting to update the method or action attributes of the form object. This becomes a problem for the Form Plugin which tries to do the following when uploading files:
$form.attr({ target: id, method: 'POST', action: opts.url });
In IE, this fails in jQuery 1.3.1 at line 985 (attr fn):
elem[ name ] = value;
Turns out that this also fails in jQuery 1.2.6 but not in jQuery 1.2.3.
A test page is available here:
Duplicate of #3113