Skip to content

Radio buttons #10

Description

@lrkwz

What if I have two (or more) exclusive "radio" buttons?

Your sample has only a single (useless I'm afraid) radiobutton which is always "on", what happens if I have more buttons with the same name (in order to make them mutually exclusive).

Using jquery you should write something like $('input[name="XYZ"]:checked').val() in order to get the value of the checked one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions