A form is shown when needed, and hidden when the form is cancelled. The form container is set inline to display:none, which is ok, because if someone has javascript off, the "choose" button in the table has a real destination in its href attribute.

  $1000 $100 $10 $1 Free
  Choose Choose Choose Choose Choose
Number of quarters 4,000 400 40 4 None
Number of zeros 3 zeros 2 zeros 1 zero No zeros None
Checks on this row yes yes yes yes  
Checks on another row yes yes      

来源:askthecssguy 代码整理:脚本之家网 感谢:xiaojiage

转载请注明出处,此代码仅供学习交流,请勿用于商业用途。