amoffat / bootstrap-application-wizard

MIT License
1.85k stars 388 forks source link

remove potential bugs in demo.html #71 #72

Open zhangxin511 opened 10 years ago

zhangxin511 commented 10 years ago

The line wizard.modal.find(':input').val('') will remove radio and hidden, because they are attribute of input. While the value of option of select element will survived.

Could we change the example in demo.html? I believe a lot of people like me know little about js will use the examples in demo.html directly or make changes on these examples while don't know what it exactly it is dong.