如果表格有效,则使用j Query验证纸面,验证表格的形式,想在提交纽顿时添加一个“批号”。
修正
This is the code i have at the moment all working and validating, just need a function to add the class if valid: http://jsfiddle.net/kKSjL/
Link to jQuery validation page: http://docs.jquery.com/Plugins/Validation/