How can I submit a DOM table to php?

Posted by Jemma Diampuan on Stack Overflow See other posts from Stack Overflow or by Jemma Diampuan
Published on 2010-04-05T07:52:30Z Indexed on 2010/04/06 15:13 UTC
Read the original article Hit count: 209

Filed under:

Hi, I have a <table> in a web page that I populate using JavaScript code like this:

var cellBarcode = row.insertCell(1);
var textNode = document.createTextNode(barcode);
cellBarcode.appendChild(textNode);
var cellItemName = row.insertCell(2);
var textNode = document.createTextNode(itemName);
cellItemName.appendChild(textNode);

I need to save its data to my database... So I need to know how I can submit it to php... Is it possible...? If yes, please provide some sample codes that are easy to understand for a beginner like me... thanks...

© Stack Overflow or respective owner

Related posts about dom