Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14714 closed bug (notabug)

jQuery(form).attr('action') returns undefined in IE11

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: None
Component: unfiled Version: 1.11.0-beta2
Keywords: Cc:
Blocked by: Blocking:

Description

Code was <form action="index.php?option=someoption&task=sometask" onsubmit="ajaxLogin(this)" name="someName">

function ajaxLogin(form){

alert(form.attr('name')); alerts someName alert(form.attr('action')); alerts undefined.

}

Tried with jquery 1.8.1 and jquery 1.11.0 Beta 2

Change History (4)

comment:1 Changed 9 years ago by anonymous

Oh, i forgot one thing - it is working properly while developers console is on.

comment:2 Changed 9 years ago by dmethvin

Owner: set to anonymous
Status: newpending

Please post a complete example built with jsfiddle.net, your code snippet above is incomplete.

comment:3 Changed 9 years ago by anonymous

Status: pendingnew

http://jsfiddle.net/kJZjL/3/

sorry, but seems it is not reproducing. will try again once get it

comment:4 Changed 9 years ago by Timmy Willison

Resolution: notabug
Status: newclosed

Closing until it can be reproduced.

Note: See TracTickets for help on using tickets.