Skip to main content

Bug Tracker

Side navigation

#14401 closed bug (fixed)

Opened September 30, 2013 04:50AM UTC

Closed September 30, 2013 02:26PM UTC

Error when loading a page with application/xhtml+xml

Reported by: hrpeters@gmx.net Owned by:
Priority: undecided Milestone: 1.11/2.1
Component: support Version: 2.1.0-beta1
Keywords: Cc:
Blocked by: Blocking:
Description

The new 2.1.0 Beta jQuery won't load into a XHTML page. The following error is being displayed:

SyntaxError: An invalid or illegal string was specified

The problem is line 3974

it reads

div.innerHTML = "<input type='radio' checked name='t'/>";

After changing that to

div.innerHTML = "<input type='radio' checked='checked' name='t'/>";

things seem to work fine so far.

Attachments (0)
Change History (1)

Changed September 30, 2013 02:26PM UTC by gibson042 comment:1

_comment0: 1.x: https://github.com/jquery/jquery/commit/4b378280d350ddd3f096a554763743f1d71c6ddb \ master: https://github.com/jquery/jquery/commit/2d4c0d5f375bcf59a5a0cd19c4562bd57f03fb1d1380551243793546
_comment1: 1.x: https://github.com/jquery/jquery/commit/4b378280d350ddd3f096a554763743f1d71c6ddb[[BR]] \ master: https://github.com/jquery/jquery/commit/2d4c0d5f375bcf59a5a0cd19c4562bd57f03fb1d1380551252405748
_comment2: 1.x: https://github.com/jquery/jquery/commit/4b378280d350ddd3f096a554763743f1d71c6ddb [[BR]] \ master: https://github.com/jquery/jquery/commit/2d4c0d5f375bcf59a5a0cd19c4562bd57f03fb1d1380551272795630
component: unfiledsupport
milestone: None1.11/2.1
resolution: → fixed
status: newclosed