lang
1 <table class="yoko" > 2 <tr> 3 <th></th> 4 <th>A</th> 5 <th>B</th> 6 <th>C</th> 7 <th>D</th> 8 </tr> 9 10 {foreach from=$datas key=k item=val} 11 <tr> 12 <td > 13 <form method="post" accept-charset="utf-8"> 14 15 <input type="submit" name="" value="修正" onclick="location.href='https://test?'"> 16 17 </td> 18 <td class="customerName cent">{$val.name}</td> 19 <td class="status cent"></td> 20 <td class="entryTime cent">{$val.place}</td> 21 <td class="exitTime cent"> 22 23 </form> 24 </td> 25 26 </tr> 27 {/foreach} 28 29 </table>
上記のhtmlで一覧が表示されて横に修正ボタンが表示されます。
ある行の修正ボタンを押したとき、次の画面にその行の詳細情報の画面に移って値を渡したいのですが
input type="submit" name="" value="修正" onclick="location.href='https://test?'">
の?の後に何か指定すればよいのですか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。