#8736 closed bug (invalid)
:submit selector
Reported by: | Owned by: | ||
---|---|---|---|
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 12 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
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 12 years ago by
http://jsfiddle.net/QTjf4/ I used jQuery 1.5.1 and 1.5.2 - the same issue
comment:4 Changed 12 years ago by
Component: | unfiled → selector |
---|
comment:5 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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 12 years ago by
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
Please provide a test case in jsFiddle.