Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#8736 closed bug (invalid)

:submit selector

Reported by: arsen74@… Owned by: arsen74@…
Priority: undecided Milestone: 1.next
Component: selector Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:

Description

IE8, 2 input elements with submit type on the form -> js error.

Line: 90 Symbol: 512 Return code: 0 url: https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js

Change History (6)

comment:1 Changed 9 years ago by dmethvin

Owner: set to arsen74@…
Status: newpending

Please provide a test case in jsFiddle.

comment:2 Changed 9 years ago by addyosmani

In addition, please make sure you're testing with the latest version of jQuery as I see you're referencing 1.4.4 in your ticket.

comment:3 Changed 9 years ago by anonymous

http://jsfiddle.net/QTjf4/ I used jQuery 1.5.1 and 1.5.2 - the same issue

comment:4 Changed 9 years ago by Rick Waldron

Component: unfiledselector

comment:5 Changed 9 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

comment:6 Changed 8 years ago by rroesler@…

Mr: trac-o-bot, you should reopen the ticket as it is real. It affects MS's jquery.unobtrusive-ajax.js (shipped with MVC3).

$("form[data-ajax=true] :submit").live("click", function (evt) {...})

<input type="submit" value="Save" /> does not trigger bug <button type="submit">Save</button> triggers bug

NOTE: Often have have to refresh the page (in IE) once to twice to trigger the issue. So :submit with <button type="submit"> seems to work sometimes and not others.

IE8 Error Details

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; Media Center PC 6.0; .NET4.0C; .NET4.0E) Timestamp: Tue, 10 May 2011 18:20:55 UTC

Message: Failed Line: 3941 Char: 4 Code: 0 URI: http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js

Message: Failed Line: 3957 Char: 4 Code: 0 URI: http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js

Note: See TracTickets for help on using tickets.