document.write清除页面的所有控件 [英] document.write clear all controls of page

查看:110
本文介绍了document.write清除页面的所有控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



执行document.write时,将清除网页中的所有控件.为什么?
(在asp文件中)

Hi,

When the document.write executes, all controls in the web pages gets cleared. Why?
(In asp file)

推荐答案

由于您的问题尚不清楚,无法帮助您,因此我将为您键入示例.



你好,世界.


document.Write(有事要写");





结果将是:

你好世界.一些东西要写
Since your question is not clear for helping you I''ll type a sample for u.



Hello World.


document.Write(" some thing to write");





The result would be:

Hello World. some thing to write


这篇关于document.write清除页面的所有控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆