Unfocus

Jan 3, 2003

I have a textbox that I don't want people to be able to click. Is there like a document.getElementById('text').unfocus() or do I just have to set focus to another element??

PHP Code:

onFocus="document.getElementById('submit').focus()"

View 1 Replies


ADVERTISEMENT

Unfocus A Window - During Refresh!!

Jul 23, 2005

I'm developing an application that involves multi-screen in different
windows. One of my windows involves an automatic refresh every 99 sec.
The problem is that the window is coming into focus each time the
refresh occurs. How can I prevent this from happening?

Implementation of refresh as follows:
____________________________
function refreshPage(){
query4 = "<?php echo $_GET['query4']?>";
window.location.href = "fluxOT_frame.php?page_id=0&query4=" + query4 +
"&services=<?php echo $service?>&go_ahead=1&code_er=<?php echo
$cod_er?>&code_appli=<?php echo $code_app?>&periode=<?php echo
$period?>";
}
timeout = <?php echo $period;?> * 1000; // where period = 99
window.setTimeout("refreshPage();",timeout);
____________________________

View 2 Replies View Related

How To Unfocus From A Select Option

May 15, 2006

I have a select box that when clicked, a js calendar will be displayed beneath it. The problem is that the select option drop-down appears over the calendar.

To make it disapear I have used blur() to make it lose focuse and the options disapear in Firefox. IE though is not cooperating.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved