title: YUI Checkbox Button - retrieving the checked value
body: <p>(I've tried posting this on YUI message group but without any luck)</p>
  
  <p>Can anyone tell me how to retrieve the checked state of a yui Button? I've tried by creating the Button in code, which is then outputted as a HTML button but this only changes the title attribute.</p>
  
  <p>When I use checkboxes instead, none of the checkboxes are checked (when iterating through them with jQuery).</p>
  
  <p>Is there an easier way of doing it? Say with the 3.0 Node API, or Element?</p>
  
  <p>EDIT:
  To clarify how this problem came about, I'm using the YUI ASP.NET controls. They add controls to the page like this</p>
  
  <pre><code>Sys.Application.add_init(function() {    $create(YUIAspNet.Button, {"ButtonID":"yuiMyButton_btn","ButtonName":"yuiMyButton$btn","TabIndex":0,"ButtonType":"checkbox","Text":"Technology"}, null, null, $get("yuiMyButton"));});
  </code></pre>
  
  <p>So as you can see,  finding all buttons is not as simple as I'd like it to have been.</p>