JAKARTAPROJECT
JAKARTA TIPJSP TIPJSP Áú¹®&´äº¯DATABASE TIPJAVASCRIPT TIPWEBHACKING TIP±âŸ TIP
ÀÚ¹Ù½ºÅ©¸³Æ® ÆÁ
ÀÚ¹Ù½ºÅ©¸³Æ® ÆÁ
ÀÚ¹Ù½ºÅ©¸³Æ® ¹× CSS ÆÁ °Ô½ÃÆÇÀÔ´Ï´Ù
tableÀ» ¿¢¼¿ ÆíÁý ÇϵíÀÌ..
GoodBug
À̹ÌÁö ½½¶óÀÌ´õ º¸±â

ÁÁÀº ¼Ò½º Çϳª ¹ß°ßÇßÀ½µÂ~

 

<HTML>
<HEAD>


<SCRIPT>

function editCell (cell) {
  if (document.all) {
    cell.innerHTML =
      '<INPUT ' +
      ' ID="editCell"' +
      ' ONCLICK="event.cancelBubble = true;"' +
      ' ONCHANGE="setCell(this.parentElement, this.value)" ' +
      ' ONBLUR="setCell(this.parentElement, this.value)" ' +
      ' VALUE="' + cell.innerText + '"' +
      ' SIZE="' + cell.innerText.length + '"' +
      '>';
    document.all.editCell.focus();
    document.all.editCell.select();
  }
  else if (document.getElementById) {
    cell.normalize();
    var input = document.createElement('INPUT');
    input.setAttribute('value', cell.firstChild.nodeValue);
    input.setAttribute('size', cell.firstChild.nodeValue.length);
    input.onchange = function (evt) { setCell(this.parentNode, this.value); };
    input.onclick = function (evt) {
      evt.cancelBubble = true;
      if (evt.stopPropagation)
        evt.stopPropagation();
    };
    cell.replaceChild(input, cell.firstChild);
    input.focus();
    input.select();
  }

}


function setCell (cell, value) {
  if (document.all)
    cell.innerText = value;
  else if (document.getElementById)
    cell.replaceChild(document.createTextNode(value), cell.firstChild);
}


</SCRIPT>

</HEAD>

<BODY>


 

<TABLE BORDER="1">
<TR>
<TD ONCLICK="editCell(this);">GoodBug</TD>
<TD ONCLICK="editCell(this);">100</TD>
<TD ONCLICK="editCell(this)">JakartaProject.com</TD>
</TR>
<TR>
<TD ONCLICK="editCell(this);">test</TD>
<TD ONCLICK="editCell(this);">99</TD>
<TD ONCLICK="editCell(this)">yahoo.com</TD>
</TR>
</TABLE>


</BODY>
</HTML>

2010-03-11 10:00:39
211.189.124.***

 

ÁÁÀº»ý°¢ ^^

÷ºÎÆÄÀÏ (ÃÑ 1°³)
  1. edit.html 1.61 KB (203 ´Ù¿î·Îµå)
0Á¡ (1¸í)
Unicorn V 1.10 Thumbnail TEST 3 GoodBug 2005-08-22
tableÀ» ¿¢¼¿ ÆíÁý ÇϵíÀÌ.. 3 GoodBug 2005-09-16
.profile ½ÇÇàÇÏ´Â °Í 2 kaiser 2005-12-29
sql Æ©´× ÀÚ·á kaiser 2006-04-11
¿¡·¯ ³»¿ë ÀÌÁ¾¿ø 2005-06-20
[´äº¯] ¿¡·¯ ³»¿ë GoodBug 2005-06-21
µ¡±Û 3°³ | ÅÂ±× 0°³ | °ü·Ã±Ûº¸±â
ű×ÀÔ·Â
½±Ç¥(,)±¸ºÐÀ¸·Î Çѹø¿¡ ¿©·¯ ű׸¦ ÀÔ·ÂÇÒ¼ö ÀÖ½À´Ï´Ù
Á¶ÀºÇÏ·ç
(0) (0)
Good¿¡ ÅõÇ¥Çߴµ¥.. Bad¿¡ ¿Ã¶ó°¡³×¿ä ^^;
221.147.111.*** 2005-10-29 04:42:00
GoodBug
(0) (0)
ÁÖȲ»ö Á¡¼ö°¡ ÅäÅ» Á¡¼ö°í¿ä Bad´Â -1·Î µÇ°í¿ä GoodÀº +1 ¿Ã¶ó°©´Ï´Ù ^^
211.189.124.*** 2005-11-03 15:15:03
ÁøÁö¢â
(0) (0)
ÆíÁýÇؼ­ ¾îµû¾²ÁÒ? -¤µ-;;; ¹Ù²ã¼­ ÀúÀåÇÑ´ÙµçÁö Çϱ⵵ Èûµé°Í³×¿ä.. -¤µ-;
59.13.121.*** 2006-02-27 16:57:55
À̸§ ºñ¹Ð¹øÈ£
ÀÚ¹Ù½ºÅ©¸³Æ® ÆÁ
ÀÚ¹Ù½ºÅ©¸³Æ® ¹× CSS ÆÁ °Ô½ÃÆÇÀÔ´Ï´Ù
! ¹øÈ£ Á¦¸ñ ±Û¾´ÀÌ ÀÏÀÚ Á¶È¸
220 img À̹ÌÁö ºÎµå·´°Ô ÁÙÀ̱â 1 GoodBug 2009-12-18 8,193
219 rss xml ÆĽÌÇÏ´Â ¸ðµâ ÀÔ´Ï´Ù. 1 °í°í½Ì 2009-11-27 7,641
218 Æ®¸® ÀÔ´Ï´Ù . 1 °í°í½Ì 2009-11-27 5,873
217 ¿¡·¯Ã³¸® 1 kaiser 2009-05-11 6,088
216 À¥ÆäÀÌÁö º¹»ç ¹æÁö ÇØÁö ÇÏ´Â ¹ý kaiser 2009-05-03 11,673
215 javascript ÇÑ±Û Â¥¸£±â 1 1 kaiser 2008-08-14 7,985
214 rolling ·Ñ¸µ ½ºÅ©¸³Æ® 1 2 GoodBug 2008-07-11 10,128
213 alert ¸Þ½ÃÁö¸¦ print ó·³ »ç¿ëÇϱâ 2 °í°í½Ì 2008-06-10 8,675
212 onload onload Æã¼ÇÀÌ Á¤ÀǵǾî ÀÖ´Â »óȲ¿¡¼­ onload¿¡ Ãß°¡Çϱâ 1 GoodBug 2008-04-11 8,440
211 javascript ÀÚ¹Ù½ºÅ©¸³Æ® °³¹ß°¡À̵å 4 1 kaiser 2008-04-09 8,898
210 escape HTML escpae code 1 GoodBug 2008-04-02 6,499
209 optgroup SELECT ¸ñ·Ï ±×·ìº°·Î ¹­±â 1 1 GoodBug 2008-03-06 8,215
208 µ¿Àû Å×À̺í Å×ÀÌºí¿¡ µ¿Àû TR »ðÀÔ ¹× »èÁ¦ IE, FF °ø¿ë 1 GoodBug 2008-01-18 11,745
207 drag Javascript drag and drop 1 1 GoodBug 2008-01-16 8,171
206 sort Sortable HTML table 2 GoodBug 2008-01-16 7,402
205 scrollable table Scrollable HTML table 1 GoodBug 2008-01-16 7,087
204 CSS CSS centered layout 1 1 GoodBug 2008-01-16 6,685
203 utf8 Javascript UTF-8 1 GoodBug 2008-01-16 7,914
202 encode Javascript url decode, encode 2 GoodBug 2008-01-16 8,159
201 ¾Ïȣȭ Javascript MD5 2 GoodBug 2008-01-15 7,364
copyright 2005-2024 by Unicorn