title: Need a toggle button that cycles between three values
body: <p>I'm trying to create a button that, when clicked will cycle ad nauseum through three distinct values: "Excluded", "Included" and "Not Sure", in that order. I'm able to create a simple button that switches values once, using something like this:</p>
  
  <pre><code>function valChange()      {
   document.myForm.myButton.value="Value has changed"
  }
  </code></pre>
  
  <p>However, once I put some if...else logic in there to handle the three values, it still changes on the first click, but not on subsequent clicks. Anyone have any ideas? I'm using javascript and coldfusion, so if there's a way to do this easy with a CFC, or even jQuery, I'm open to it. </p>
  
  <p>Thanks in advance.</p>