单击任何提交类型按钮时如何使屏幕空白 [英] how to blank the screen when any submit-type buttons clicked

查看:74
本文介绍了单击任何提交类型按钮时如何使屏幕空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让FORM'中的屏幕空白onsubmit = ...空白

用户的屏幕??


之前我问过这个问题并找到了一个用id来空白一张桌子的方法


" document.getElementById(''tabid'')。style.display =''n one' ;"在onclick

事件中并将封装表的ID设置为''tabid''。


我想知道这个或其他类似的方法可以

可能在我的页面中全局种植在提交验证中

序列????

Is there a way to blank the screen in a FORM''s onsubmit=... to blank
the screen for the user??

I asked this before and got a way to blank a table by id with

"document.getElementById(''tabid'').style.display=''n one'';" in the onclick
event and setting the encapsulating table''s ID to ''tabid''.

I was wondering if this or some other similar approach that could
possibly be planted globally in my pages in the onsubmit validation
sequence ????

推荐答案



" charlie_M" <厘米****** @ comcast.net>在消息中写道

news:11 ********************** @ o13g2000cwo.googlegr oups.com ...

"charlie_M" <cm******@comcast.net> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
有没有办法让一个FORM'的屏幕空白onsubmit = ...空白
用户的屏幕??

我之前问过这个问题一种用id空白表格的方法

" document.getElementById(''tabid'')。style.display =''n one'';"在onclick
事件中,并将封装表的ID设置为''tabid''。
Is there a way to blank the screen in a FORM''s onsubmit=... to blank
the screen for the user??

I asked this before and got a way to blank a table by id with

"document.getElementById(''tabid'').style.display=''n one'';" in the onclick
event and setting the encapsulating table''s ID to ''tabid''.




你可以把你的页面放在div中的内容然后隐藏整个

div。



you could put your "page" content in a div and then just hide the whole
div.


你可以嵌套DIV吗?


问题和我问原问题的原因......这些页面

是用Foxpro编写的,其中有数百个。我是

loking最简单的方法是在sublitted时屏幕空白,

会赞成允许更改集中的方法

应用(如表格''onsubmit())。


TIA

Chuck

Can you nest DIVs??

The problem and the reason I ask the original question... these pages
are written in Foxpro and there are literally hundreds of them. I am
loking for the easiest method to blank the screen when sublitted and
would favor the method that would allow trhe change be centrally
applied (like a form''s onsubmit()).

TIA
Chuck


charlie_M在2005年10月3日下午3:45发表以下内容:
charlie_M said the following on 10/3/2005 3:45 PM:
你可以嵌套DIV吗?


是的。这与Javascript有什么关系?

问题和我问原问题的原因......这些页面是用Foxpro编写的,其中有数百个。我喜欢使用最简单的方法来消除屏幕时的空白,并且
会支持允许更改集中应用的方法(如表单'onsubmit())。
Can you nest DIVs??
Yes. What does that have to do with Javascript?
The problem and the reason I ask the original question... these pages
are written in Foxpro and there are literally hundreds of them. I am
loking for the easiest method to blank the screen when sublitted and
would favor the method that would allow trhe change be centrally
applied (like a form''s onsubmit()).




如果Foxpro将您的页面搞砸了,那么您需要一个新的编辑器。


< form onsubmit =" ; hideTheBody()">


函数hideTheBody(){

bodyNode = document.body?document.body:document.documentEleme nt;

bodyNode.innerHTML ='''';

}


-

Randy
comp.lang.javascript常见问题 - http://jibbering.com/faq


这篇关于单击任何提交类型按钮时如何使屏幕空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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