$.click()(or $.trigger('click')) does not simulate a mouse click; it fires any onclick events associated with this element. If you have not scheduled an onclick event for this input you are looking for, nothing will happen.
, (, <input type="submit" value="Cancel">). $(yourform).submit() , , "".