document.execCommand(command, false, value); 一、首先来看一个例子: Hello World! 保存为html网页,打开看看,在DIV里出现了一个光标,这个DIV就变成可以编辑的了。 类似的,SPAN,FONT等都可以有 contenteditable="true" 这个属性。 再试试下面的: Hello World! 我们就... Read More
posted @ 2007-12-16 14:43 blueKnight Views(2835) Comments(1) Diggs(1)