Join MDN and developers like you at Mozilla's View Source conference, November 2-4 in Portland, Oregon. Learn more at


checkAdjacentElement( dir )
Return type: no return value
Deselects the currently selected radio button in the group and selects the one adjacent to it. If the argument <var>dir</var> is true, the next radio button is selected. If it is false, the previous radio button is selected.

Document Tags and Contributors

Contributors to this page: Sheppy, Marsf, Enn, Mgjbot, Ptak82, Dria
Last updated by: Sheppy,