Skip to main content

Bug Tracker

Side navigation

#6564 closed bug (duplicate)

Opened May 13, 2010 03:12PM UTC

Closed June 16, 2010 02:34AM UTC

Wrong determing of parameter action for form

Reported by: betepah Owned by:
Priority: Milestone: 1.4.3
Component: attributes Version: 1.4.2
Keywords: form Cc:
Blocked by: Blocking:
Description

If you place inside form input or selectbox with name "action" then code $('#form-id').attr('action', 'new-action'); will work with this element. Not with form attribute.

But $('#form-id').attr('action') will return real form action.

Examples of HTML:

<form action="test-action" id="form-id">

<select name="action">

<option value="1">Option 1</option>

</select>

</form>

<form action="test-action" id="form-id">

<input name="action" type="text">

</form>

Attachments (0)
Change History (1)

Changed June 16, 2010 02:34AM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Dup of #3113.