Radio.onBlur

JavaScript 1.0+, JScript 1.0+ Nav2+, IE 3+, Opera3+ Syntax

onBlur="command"

Description

The onBlur property is an event handler for the Radio object that notifies you when the focus is removed from a radio button.

Example

Listing 7.439 shows how the onBlur event handler is used to detect when the focus is removed from the specified radio button.

Listing 7.439 Example of the onBlur Event Handler
 <html> <head> <title> Example of the Radio onBlur event handler</title> </head> <body> <script language="JavaScript"> <!--Hide function showChange(){ document.form1.text1.value = "Focus removed from Radio Button"; } // End Hide ---> </script> <form name="form1"> Click the radio button first, then click in the text area. <br><br> ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.