이 게시판에 올리는게 맞는지 모르겠는데 jquery 로 table 에 tr 하나 추가하려고 하는데 끝에 말고 첫행에 추가하려 합니다..
보니까 바로 적용가능한 함수는 없는거 같고... 일단 첫째줄에 추가하고 나머지 내용은 삭제하고 첫째줄 이후에 하나씩 다시 추가하던지 해야하는거 같은데...
이거 편하게 추가할 수 잇는 방법이 있을까요?
http://api.jquery.com/before/
$('table tr:first').before('
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
http://api.jquery.com/before/
http://api.jquery.com/before/
$('table tr:first').before('
내용');댓글 달기