Chris Nizzardini, Salt Lake City Utah, Web Developer Specializing in LAMP+Ajax Since 2006

My Blog

Here is my awesome blog. You can find information on programming, linux, documentation, tips for code and database optimization, my thoughts and rants, and whatever else I feel like sharing. Feel free to contribute to the blog by posting comments and asking questions.
JavaScript and Ajax

modifying tables using javascript and dom

1
2
3
4
5
6
var tbl = document.getElementById('table');
var row = tbl.getElementById('tr');
var cell = row.getElementsByTagName('td');
cell[0].innerHTML='cell 0';
cell[1].innerHTML='cell 1';
cell[2].innerHTML='cell 2';

Related posts:

  1. ajax and the xmlhttprequest object
  2. appending and creating new elements in javascript
  3. alter css values dynamically with javascript
  4. looping through form fields in javascript
  5. using JSON to pass JavaScript arrays to PHP via Ajax

Leave a Reply