Skip to content

Instantly share code, notes, and snippets.

@gavinHuang
Created February 6, 2012 08:51
Show Gist options
  • Select an option

  • Save gavinHuang/1750844 to your computer and use it in GitHub Desktop.

Select an option

Save gavinHuang/1750844 to your computer and use it in GitHub Desktop.
checkbox will not be submitted to server if not checked
checkbox will not be submitted to server despite whether withing "value" attribute or not.
the difference is if not value attribute the value will be "on"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment