MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    menuitem.name

    name
    Type: string name
    Radio menuitems with the same name as put into a group. Only one menuitem in each radio group can be checked at a time.

    Example

    <toolbox>
      <menubar id="planets-menubar">
        <menu id="planet-menu" label="Planet">
          <menupopup>
            <menuitem id="jupiter" label="Jupiter" type="radio" name="planet"/>
            <menuitem id="saturn" label="Saturn" type="radio" name="planet" checked="true"/>
            <menuitem id="uranus" label="Uranus" type="radio" name="planet"/>
          </menupopup>
        </menu>
      </menubar>
    </toolbox>
    

    See also

    name and menus in the XUL Tutorial

    Document Tags and Contributors

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