Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes HTML, CSS and JavaScript and the fly likes disable screen elements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable screen elements" Watch "disable screen elements" New topic

disable screen elements

Niki Nono
Ranch Hand

Joined: Mar 20, 2005
Posts: 256
anyone know a way to disable all the screens elements in a single line?
I know that we can do it in a loop but is there a way to disable all the elements by writing just one line and without using the loop?
something like document.all.disabled = true

Life called,so here I am.<br />Cheers<br />Niki.:-)
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62311

No, but you might be able to fake it by creating a floating transparent div over the whole screen that eats all the events.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you tried LearnNowOnline?
subject: disable screen elements