[onclick] add onclick function to a submit button