Side navigation
#12702 closed bug (notabug)
Opened October 11, 2012 08:47AM UTC
Closed October 15, 2012 03:42PM UTC
$(string) somethings not right
Reported by: | 丁雷 shanghai, dinglei1219@163.com | 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
HTML-attributes are not case sensitive in html5. So only user lower case attributes.