Skip to main content

Bug Tracker

Side navigation

#8736 closed bug (invalid)

Opened April 01, 2011 04:35AM UTC

Closed April 25, 2011 08:02AM UTC

Last modified March 14, 2012 05:19PM UTC

:submit selector

Reported by: arsen74@yandex.ru Owned by: arsen74@yandex.ru
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

Attachments (0)
Change History (6)

Changed April 01, 2011 12:50PM UTC by dmethvin comment:1

owner: → arsen74@yandex.ru
status: newpending

Please provide a test case in jsFiddle.

Changed April 01, 2011 03:06PM UTC by addyosmani comment:2

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.

Changed April 04, 2011 03:52AM UTC by anonymous comment:3

http://jsfiddle.net/QTjf4/

I used jQuery 1.5.1 and 1.5.2 - the same issue

Changed April 10, 2011 03:51PM UTC by rwaldron comment:4

component: unfiledselector

Changed April 25, 2011 08:02AM UTC by trac-o-bot comment:5

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!

Changed May 10, 2011 06:23PM UTC by rroesler@kinetekscorp.com comment:6

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