HTMLCheckbox

HTMLCheckbox[name]
returns an HTML input tag of type checkbox


checks/unchecks the checkbox

DetailsDetails

  • The HTML functions are contained in a package, MSP`HTML`, which is loaded as part of the webMathematica layout.
  • The function HTMLCheckbox provides a useful way to generate an input checkbox tag with webMathematica.
  • HTMLCheckbox takes the name to use when the checkbox is submitted as an argument.
  • If a second argument is given, it is used to determine whether or not the box is checked.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

You can demonstrate how the function works by installing and loading the package:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

If a second argument is given, it is used to determine whether or not the box is checked. In the following example the checkbox is checked.

In[3]:=
Click for copyable input
Out[3]=