테스트 사이트 - 개발 중인 베타 버전입니다

tables 중간에 td넣는방법 채택완료

sahara 10년 전 조회 3,191

js로작성된 테이블인데요 리스트가 게속나오는형식인데

3줄이나오면 그다음 빈칸을하나넣어주려고하는데요

=================================================

=================================================

=================================================

여기에 빈칸1개삽입

=================================================

=================================================

=================================================

 

$j("#board_list").append("<tr id=\"num_"+this.wr_id+"\" height=\"28\" align=\"center\">"+</p><p>"<td width=\"90\" "+s_mod2+">"+this.wr_6.substring(5, 16)+"</td>"+</p><p>"<td width=\"60\" class=\"state link\">"+this.wr_link2+"</td>"+<span style="font-size: 11pt; line-height: 1.5;">    </span></p><p>"<td id=\"chk_"+this.wr_id+"_1\" class=\"pointer hT list"+bg_num+"\" "+ov_action+" bgcolor=\""+background_color+"\" "+chk1+"><nobr style=\"overflow:hidden;width:"+team_width+"px;text-align:left;font-size:12px;\"><span style='font-weight:bold;'>"+h_name[0]+"</span></nobr></td>"+</p><p>"<td width=\"40\" id=\"bet_"+this.wr_id+"_1\" class=\"blist"+bg_num+"\" bgcolor=\""+background_color+"\"><span>"+this.wr_1+"</span></td>"+</p><p>"<td width=\"145\"  id=\"chk_"+this.wr_id+"_3\" class=\"pointer muSelect list"+bg_num+"\" "+ov_action2+" bgcolor=\""+background_color+"\" "+chk3+">"+this.hy+" </td>"+</p><p>"<td width=\"30\" id=\"b_"+this.wr_id+"_2\"class=\" list"+bg_num+"\" bgcolor=\""+background_color+"\"><span>"+this.wr_2+"</span></td>"+</p><p>"<td id=\"chk_"+this.wr_id+"_2\" class=\"pointer aT blist"+bg_num+"\" "+ov_action+" bgcolor=\""+background_color+"\" "+chk2+"><nobr style=\"overflow:hidden;width:"+team_width+"px;text-align:right;padding-right:5px;font-size:12px;\"><span style='font-weight:bold;'>"+a_name[0]+"</span></nobr></td>"+</p><p>"<td width=\"40\" class=\"state ylist"+bg_num+"\">"+state+"</td>"+</p><p>"</tr><tr><td colspan=\""+VarColspan+"\" bgcolor=\"#000\"></td></tr>");</p><p><span style="font-size: 11pt; line-height: 1.5;">}</span></p><p><span style="font-size: 11pt; line-height: 1.5;">}

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

s
10년 전

td가 3개나오고 그다음에 aa가나오고 반복이되야되는데요

=================

=================

=================

 

=====================

=====================

=====================

 

=====================

=====================

=====================

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

w
10년 전

=================================================

=================================================

여기에 =================================================

여기에 빈칸1개삽입

=================================================

=================================================

=================================================

 

$("#aa").after(""); 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인