Implemented submit command for ajax submission
Implemented submit command for ajax submission, comments, refs #1245