3 like 0 dislike
3.2k views

Write a JavaScript function to add rows to a table.
Sample HTML file :

2nd midterm 4.htm

[Exercise] Essay (Open question) - asked in 2016-2 CSIEB0270 - Internet System Design and Practice by (18k points)
ID: 24647 - Available when: 2017-05-18 09:30:00 - Due to: 2017-05-18 12:00:00

reshown by | 3.2k views

20 Answers

0 like 0 dislike
Hidden content!
* ****** *** ** * * * * ** ** ****
answered by (-10 points)
0 like 0 dislike
Hidden content!
* *** *** * *** ** *** * ** ** *** * ***** *
answered by (-32 points)
0 like 0 dislike
Hidden content!
****** * ** ** ** * * * * *** * *** **
answered by (16 points)
0 like 0 dislike
Hidden content!
function * * { var * * * * ***** ** ** * ** var y = * **** * *** var z = ** * *** * ** * *** * **** * **** ** *** *** ** * }
answered by (157 points)
0 like 0 dislike
Hidden content!
* **** * * ** ** * *** *** * ** ** * *** * * *
answered by (-103 points)
0 like 0 dislike
Hidden content!
* *** * ****** ** ** * * ** **** ** * * **
answered by (-144 points)
0 like 0 dislike
Hidden content!
<!DOCTYPE html>
*** * * *****
* *** *

<meta charset=utf-8 />
* * * * ** * row in a *** *** *********
** * * * *


** *

<table * *** *** ** ** ** ***** ** *** * *


* * ** * ** *** **** *
** * * * * * * * * ** ********
* * ** ** * *** * ***** * **** *** **
* ** * ** * **** ** * *** *** ***


*** * * * *



<input *** ** *** * * * **** **** ** ** ** * ******** * * * *** * * *



* * * *

function insert_Row() {
******* * **** * * *** table = * *** *** * * * ** * * * * * *
** * * **** * *** row = ***** ** *
* ** *** ** *** ***** cell1 = * ** * *
* **** * ** *** **** cell2 = row.insertCell(1);
**** ***** * * ****** *** = "NEWRow * ** *
****** ** ** * *** *** * * * = "NEWRow ** **** * **

}
****** * ** *


* * *** * *
* ****** *
answered by (30 points)
0 like 0 dislike
Hidden content!
* *** * * * **** * * * * * ** * ** * **
answered by (-96 points)
0 like 0 dislike
Hidden content!
*** * **** * * * **** *** * * * *** * ****
answered by (6 points)
0 like 0 dislike
Hidden content!
* ****** * * **
* *
* ** * * **
*** * * *
table, td {
border: 1px solid black;
}
*** ** *
* * ******** *
* * ***** **


* ** * * * ** * * *
*** ****
* ** * ** * *** ***
* * * * * * ** ** *****
** * *** * **
* *** ****
** ** * * *** ** *
* * **** ** * * * ** ** * **
*** * **
* * * ******
* ** *
* * * * **** ******* * *** ** * * ** * *
** *****
function * ** {
var table = ** * ** **** ** **** *
var row = ** *** *
var cell1 = ***** * *
var cell2 = *****
**** **** = "NEW * ** *
* *** * = * * * ** *
}
****** * *
* * ** ***
* * *** *** **
answered by (-233 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.50.27
©2016-2025

Related questions

3 like 0 dislike
22 answers
[Exercise] Essay (Open question) - asked May 18, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24648 - Available when: 2017-05-18 09:30:00 - Due to: 2017-05-18 12:00:00
| 3.3k views
2 like 0 dislike
24 answers
[Exercise] Essay (Open question) - asked May 17, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24646 - Available when: 2017-05-18 09:30:00 - Due to: 2017-05-18 12:00:00
| 3.1k views
2 like 0 dislike
21 answers
[Exercise] Essay (Open question) - asked May 17, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24645 - Available when: 2017-05-18 09:30:00 - Due to: 2017-05-18 12:00:00
| 3k views
3 like 0 dislike
28 answers
[Exercise] Essay (Open question) - asked May 17, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24644 - Available when: 2017-05-18 09:30:00 - Due to: 2017-05-18 12:00:00
| 3.6k views
2 like 0 dislike
0 answers
[Resource] asked Apr 6, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 23501 - Available when: Unlimited - Due to: Unlimited
| 18 views
12,783 questions
183,442 answers
172,219 comments
4,824 users