开发者

HTML5 contenteditable attribute question [duplicate]

开发者 https://www.devze.com 2023-01-23 16:57 出处:网络
This qu开发者_开发百科estion already has answers here: Closed 12 years ago. Possible Duplicate: HTML5 contenteditable question.
This qu开发者_开发百科estion already has answers here: Closed 12 years ago.

Possible Duplicate:

HTML5 contenteditable question.

what is the contenteditable attributes default value?


My browsers show this:

  • Opera 10.63: inherit
  • Google Chrome 9.0.570.1 dev: false
  • Internet Explorer 8 (isContentEdible): false
  • Firefox 4.0 b6: inherit

This attribute can be set to: true, false and inherit.


Running the Javascript code produces inherit on my Firefox/3.6.12.

alert(document.body.contentEditable);
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号