[Updated] submit function

Add the detection of "btn-info" class.