把 html <tt> 标记放置在 string 对象中的文本两端。
strvariable.fixed( )
必选项 strvariable 参数为任意的 string 对象或文字。
说明
下面的示例说明了 fixed 方法如何工作:
var strvariable = "this is a string object";strvariable = strvariable.fixed( );最后一条语句执行完后,strvariable 的值是:
<tt>this is a string object</tt>不检查该标记是否已经被应用于该字符串了。
闽公网安备 35060202000074号