Dain.Bora.Net  ver 2.0  
About Me
ÇÁ·ÎÇÊ
³ªÀÇ °¡Á·
¿ë's X-file
¼÷'s X-file
´ÙÀÎȨÇÇ ver 1.0
¼ÒÁßÇÑ »ç¶÷µé
°¡Á·µé
Ä£±¸µé
Á÷À嵿·áµé
´ÙÀÎ&°ÇÈñ
´ÙÀÎÀÌ À̾߱â
°ÇÈñ À̾߱â
¾ö¸¶ À̾߱â
±â¾ï¼ÓÀ¸·Î
°¡Á·µé°ú ÇÔ²²
Áñ°Å¿î Ãß¾ïµé
»çÁø & ¹°»ýÈ°
µðÄ« À̾߱â
ÇູÇÑ ¹°»ýÈ°
Æ÷Åä°¶·¯¸®
°Ô½ÃÆÇ
ºÎ½º·¯±âµé
ÀÚ·á½Ç
ÁÁÀº±Û
½ºÅ͵ð
¹æ¸í·Ï
¸Ô°íÀÚ°í³î°í
°¡º¼¸¸ÇÑ°÷
¸Ô°í½ÍÀº°Í
¸µÅ©
Ä«¿îÅÍ
¿À´Ã : 5
Àüü : 43901
³¯ÀÚ : 2024/12/04

Category Category
Table Row »èÁ¦Çϱâ
# ÀÚ¹Ù½ºÅ©¸³Æ®   2006-12-01 14:17
ÀÌ»ó¿ë
<html>
<head>
<title> Table Row »èÁ¦Çϱâ </title>
<script language="JavaScript">
<!--
// delete Row
function deleteRow(){
  var form = document.forms[0];
  var objSelectButton = selectButton();

  if( objSelectButton != null ){
   if( confirm("Delete This Item?") ){
    var objTBODY = searchUpByTagName( "TBODY", objSelectButton );  
    objTBODY.removeNode( true );
   }else{
    selectOrNotRadio( objSelectButton );
   }
  }else{
   alert("Please Select Delete Row.");
   return;
  }
}

window.searchUpByTagName = function(tagName, srcElement) {
  if(srcElement == null) { srcElement = window.event.srcElement; }
  if(tagName == null) { return null; }
  
  tagName = tagName.toUpperCase();
  var element = srcElement.parentElement;

  while(element != null) {
   if(element.tagName == tagName) {
    return element;
   }
   element = element.parentElement;
  }
}

// radio ¹öÆ° ¼±ÅÃ
function selectButton(){
  var form = document.forms[0];
  var objSelectButton = null;

  for(var i=0; i< form.modifyRow.length; i++){
   if( form.modifyRow[i].checked ){
    objSelectButton = form.modifyRow[i];
    break;
   }
  }

  if( objSelectButton != null ){
   return objSelectButton;
  }else{
   return null;
  }
}

// radio ¹öÆ° ¼±Åà ÇØÁ¦
function selectOrNotRadio(objCheck){
  if(objCheck.checked){
   objCheck.checked = false;
  }
}
//-->
</script>
</head>

<body>

<form>
<input type="button" value="»èÁ¦" OnClick="deleteRow()">
<table border="1" id = "oTable">
<tbody>
<tr>
<td><input type="radio" name="modifyRow"></td>
<td><input type="text" name="test1"></td>
<td><input type="text" name="test2"></td>
</tr>
</tbody>
<tbody>
<tr>
<td><input type="radio" name="modifyRow"></td>
<td><input type="text" name="test3"></td>
<td><input type="text" name="test4"></td>
</tr>
</tbody>
<tbody>
<tr>
<td><input type="radio" name="modifyRow"></td>
<td><input type="text" name="test5"></td>
<td><input type="text" name="test6"></td>
</tr>
</tbody>
</table>
</form>

</body>
</html>

Name       Pass       Secret Code   Resize  
List
28    [C/C++] [Á¤º¸º¸¾È][Á¤º¸º¸¾ÈÀü¹®°¡][¸®´ª½º]GDB»ç¿ë¹ý  ÀÌ»ó¿ë 2011.05.12 679
27    [º¸¾È] À¥ º¸¾È [3] ÀÌ»ó¿ë 2008.05.28 2883
26    [ÀÚ¹Ù½ºÅ©¸³Æ®] JavasScript ÃÑ Á¤¸® [5] ÀÌ»ó¿ë 2007.04.10 1342
25    [¸®´ª½º/À¯´Ð½º] rrdtool ¼³Ä¡ [1] ÀÌ»ó¿ë 2007.02.27 1955
24    [°øÅë] Open Source Æз¯´ÙÀÓ ½¬ÇÁÆ® [146] ÀÌ»ó¿ë 2007.02.27 1402
   [ÀÚ¹Ù½ºÅ©¸³Æ®] Table Row »èÁ¦Çϱâ [74] ÀÌ»ó¿ë 2006.12.01 1029
22    [¸®´ª½º/À¯´Ð½º] swatch¸¦ ÀÌ¿ëÇØ ·Î±×ÆÄÀÏÀ» ½Ç½Ã°£À¸·Î ¸ð´ÏÅÍÇØ º¸ÀÚ. [1] ÀÌ»ó¿ë 2006.08.29 1068
21    [¸®´ª½º/À¯´Ð½º] cfengine À» ÀÌ¿ëÇÏ¿© ¿©·¯´ëÀÇ ½Ã½ºÅÛ°ü¸® ÀÚµ¿È­ Çϱâ [1] ÀÌ»ó¿ë 2006.08.04 1863
20    [¸®´ª½º/À¯´Ð½º] Content Management Systems (CMS) - OpenSource  ÀÌ»ó¿ë 2006.08.04 2047
19    [À¥] Web 2.0À̶õ ¹«¾ùÀΰ¡ [1] ÀÌ»ó¿ë 2006.08.02 975
18    [À¥] [PHPA] using PHP Accelerator [2] ÀÌ»ó¿ë 2006.02.16 9368
17    [°øÅë] Á¤±Ô Ç¥Çö½Ä  ÀÌ»ó¿ë 2006.01.05 810
16    [¸®´ª½º/À¯´Ð½º] SELinux ?  ÀÌ»ó¿ë 2006.01.04 948
15    [¸®´ª½º/À¯´Ð½º] apache2.0 + tomcat5.x ¼³Ä¡Çϱâ [1] ÀÌ»ó¿ë 2005.11.21 2563
14    [DB] mysql ¼³Ä¡ °¡ÀÌµå  ÀÌ»ó¿ë 2005.11.20 1059
13    [³×Æ®¿÷] Catalyst 4000-L3 Switch ±¸Á¶¿Í setting [206] ÀÌ»ó¿ë 2005.11.08 64236
12    [³×Æ®¿÷] ³×Æ®¿öÅ© Áø´Ü ¸í·É¾î(À©µµ¿ì) [1] ÀÌ»ó¿ë 2005.11.08 1404
11    [³×Æ®¿÷] DNS ¿î¿µ ÀÚ·á  ÀÌ»ó¿ë 2005.11.08 850
10    [³×Æ®¿÷] Cisco 6509 ¿î¿µ ¸Þ´º¾ó [1] ÀÌ»ó¿ë 2005.11.08 4732
9    [¸®´ª½º/À¯´Ð½º] GD ¼³Ä¡ÇØ º¸ÀÚ...  ÀÌ»ó¿ë 2005.09.29 1837
List   1 [2]  
Copyright 1999-2024 Zeroboard / skin by eggnara