Glossary Item Box

PowerWEB TextBox for ASP.NET

pwGetSelectedRadio Method

Returns the selected item of a radio button instance.

[JavaScript]
objRadioItem = pwGetSelectedRadio(pwRadio)

Parameters

pwRadio
The radio instance (input type='radio') to find the selected item of.

Return Value

The DHTML object representing the selected radio.

Remarks

This method returns null if no item of the radio instance is selected

Example

[JavaScript] The following example demonstrates displaying the selected item of a radio item.

<INPUT type=radio name="myradio" CHECKED>Option 1
<INPUT type=radio name="myradio">Option 2
<INPUT type=radio name="myradio">Option 3
<input type='button' value='Click here to insert a bookmark' onclick='alert(pwGetSelectedRadio(myRadio).value)'>

	

In This Section

Assembly Overview
Contains classes that support and enable creation of HTML-editing capable web applications.
Client-Side API
Describes client-side JavaScript functions that are used by PowerWEB TextBox for ASP.NET.

 

 


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.