Click here to Skip to main content
15,028,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

How to get html table cell value in javascript. and how to pass the html cell value in web service method.

thank you for ur reply.

i need to get td value. am use code like this
var elTableRow = document.getElementById("tr1");
      var elTableCells = elTableRow.getElementsByTagName("td");

but returned the value is undefined.can u tell me wat is error.why that value return like that.
Hope this[^] helps.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900