changing events from input-submit to button-submit to be able to post id as value