1つのformで複数ボタンの配置 - masdoiの日記

html | 12:48 | 1つのformで複数ボタンを作り、どのボタンが押されたのかをCGI側で判定したい場合があります。まずこのようなJavaScriptを定義しておきます。 script> function do_submit(target) { window.document.form1.target.value = target ; document.form1.submit()...続きはこちら