JavaScript submit時のconfirm()

submit時の確認用、簡単なサンプルです。

html側

〜略〜

js側

function startConfirm(message){
	return (confirm(message));
}