<div class="codetitle"> <span><a style="CURSOR: pointer" data="19849" class="copybut" id="copybut19849" onclick="doCopy('code19849')"><u>複製程式碼</u></a></span>以下程式碼:</div> <div class="codebody" id="code19849"> <br><br><title>><br><br><br><title>><br><script language="javascript"><BR> function getData()<BR> {<BR> getElementById("myTable");<BR> if(objTable)<BR> {<BR> 🎜> for(var j= 0;j<objTable.rows[i].cells.length;j )<BR> {<BR> }<BR> }<BR> }<BR> alert(arrData.join(","));<BR> }<BR></script><br><br> </title> </title> ="1" id="myTable"><br><tr> <td>劉</td> <td>金</td> <td>蔡</td> </tr> <br><tr> <td>liu2</td> <td>jin2</td> <td>cai2</td> </tr> <br><tr> <td>liu3</td> <td>jin3</td> <td>cai3</td> </tr> <br><br><br> <br><br><br><br><br><br> </div>