title: Getting checkbox value from <span> with jquery
body: <p><a href="http://ghinda.net/css-toggle-switch/bootstrap.html" rel="nofollow">http://ghinda.net/css-toggle-switch/bootstrap.html</a></p>
  
  <p>Im using the above css files and code to make a toggle switch. I want to check which result is checked but I have never worked with something that uses the <code>&lt;span&gt;&lt;/span&gt;</code> tags.</p>
  
  <p>I have tried searching to find the answer to my question but I just have no luck searching the right thing so I decided to ask.</p>
  
  <p>my code:</p>
  
  <pre><code>&lt;label class="checkbox toggle well" onclick=""&gt;
              &lt;input id="view" type="checkbox" checked /&gt;
              &lt;span&gt;
              Spotlight
              &lt;span&gt;Off&lt;/span&gt;
              &lt;span&gt;On&lt;/span&gt;
              &lt;/span&gt;
              &lt;a class="btn btn-primary slide-button"&gt;&lt;/a&gt;
              &lt;/label&gt;
  </code></pre>
  
  <p>How do i get a value which corresponds with which ones selected?</p>
  
  <p>If you can redirect me to a post with the answer or answer my question I would be very grateful. Thank you in advance.</p>