Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12702 closed bug (notabug)

$(string) somethings not right

Reported by: 丁雷 shanghai, dinglei1219@… Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

$(string) changed string uppercase to lowercase: example: var xx = '<div><table><tr><td><input type="text" positiveNumber="true"/></td></tr></table></div>'; console.log(xx); xx = $(xx); console.log(xx.html()); summary: it makes positiveNumber to positivenumber

Change History (2)

comment:1 Changed 7 years ago by Christian Meixner <christian.meixner@…>

HTML-attributes are not case sensitive in html5. So only user lower case attributes.

comment:2 Changed 7 years ago by mikesherov

Component: unfiledattributes
Priority: undecidedlow
Resolution: notabug
Status: newclosed

Christian Meixner is correct.

Note: See TracTickets for help on using tickets.