Side navigation
#12583 closed bug (fixed)
Opened September 21, 2012 03:51AM UTC
Closed October 04, 2012 01:30AM UTC
Last modified October 04, 2012 01:45AM UTC
在ie8中方法.html的bug
Reported by: | bd_wyj@sina.com | Owned by: | bd_wyj@sina.com |
---|---|---|---|
Priority: | low | Milestone: | 1.8.3 |
Component: | ajax | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
如下代码
$.ajax({
url: url,
success: function(r, s){
$('#container').html(r);
}
});
如果返回的内容r中没有封闭的htmlElement(即不符合w3c XHTML 规范)时,会解析错误
比如:返回的内容r中含有 <input name="input1">时不能解析,
而<input name="input1" />可以正确解析
Attachments (0)
Change History (4)
Changed September 21, 2012 07:47AM UTC by comment:1
component: | unfiled → ajax |
---|---|
priority: | undecided → low |
Changed September 23, 2012 03:44PM UTC by comment:2
owner: | → bd_wyj@sina.com |
---|---|
status: | new → pending |
Changed October 04, 2012 01:30AM UTC by comment:3
resolution: | → fixed |
---|---|
status: | pending → closed |
Fix #12583: Don't ignore disabled property of select-one, close gh-932.
Changeset: 425d17de832d281c2577f8d6653030cef95907b5
Changed October 04, 2012 01:45AM UTC by comment:4
milestone: | None → 1.8.3 |
---|
English please.
Can you provide a jsfiddle testcase displaying the problem?
Translation:
The following code $. Ajax ({
url: url, success: function (r, s) {
$ ('# Container'). Html (r);
}
}); Return the contents of r closed htmlElement (that does not comply with the the w3c XHTML specification) will parse error such as: the containing <input name="input1"> return the contents of r can not be resolved, and <input name = "input1" /> can be resolved correctly