title: How do I use a toggle button?
body: <p>I'm working on an Arduino project that uses the Ethernet shield. The Adruino connects to my laptop (server) and reads a <a href="http://en.wikipedia.org/wiki/PHP" rel="nofollow">PHP</a> file telling it to turn on or off a relay.</p>
  
  <p>The user interface is an HTML page. There are submit forms with values on and off. The values get sent to a handler page for processing so that it can be read by the Arduino.</p>
  
  <p>I want to make use of a CSS/JavaScript-styled toggle button to replace the hideous looking submit buttons.</p>
  
  <p><a href="http://proto.io/freebies/onoff/" rel="nofollow">http://proto.io/freebies/onoff/</a> is the button I want to use. How do I extract the values of the toggle states and implement it on my HTML page?</p>