質問するログイン新規登録

質問編集履歴

1

コードをコードブロックで囲みました

2016/06/17 05:52

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -6,13 +6,14 @@
6
6
  良い方法がありましたら教えてください
7
7
 
8
8
 
9
- サンプルプログラム
10
- ---
11
9
 
10
+
11
+ ```
12
12
  $("div#id table tr").on('click','td',function(){
13
13
  var col = this.cellIndex;
14
14
  if(col < 5){
15
15
  var HTML="</tr><tr>追加する行</tr>";
16
16
  $(this).parent().append(HTML);
17
17
  }
18
- })
18
+ })
19
+ ```