I 开发者_JS百科have some controls being dynamically added to the placeholder control and on the page it has the HTML button (not asp button) that does the validation on the dynamic controls. And the click event handler of the HTML button is in the .js file.
Can anyone suggest the best method to do this?
Since I see that you're already using jQuery in your project I recommend you this validation library
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Very flexible and easy to use.
精彩评论