lundi 19 octobre 2015

Materialize Checkbox Return Value

Im using the checkbox inside a form, as shown below.

<form action="" method="get">
    <p>
      <input type="checkbox" id="blunch" />
      <label for="blunch">Burrito Lunch</label>
    </p>
    <p>
      <input type="checkbox" id="trip" />
      <label for="trip">Ski Trip</label>
    </p>
    <p>
      <input type="checkbox" id="dance" />
      <label for="dance">Snowball Dance</label>
    </p>
    <button class="btn btn-primary btn-lg waves-effect waves-light" id="submit" type="submit">Submit</button>
</form>

when i try to see what the output is when a checkbox is checked, it only shows up as a question mark. Is there a way to figure out what name the result is?




Aucun commentaire:

Enregistrer un commentaire