javascript two submit one time code example Example: two buttons in same form <input type="submit" name="button_1" value="Click me">