Sunday, 5 September 2010

How to get table values using javascript without "FOR LOOP"








use the above code inside HEAD tag
ID
Name
1
A
2
B
3
C
4
D
5
E

use the above code to display a table like below








the page will be displayed in the browser as below






if u click on the button it will display name as message









OUTPUT


No comments:

Post a Comment