by mjbrunelle » Tue Aug 10, 2010 7:33 pm
Yes you can,
Place the [-- SC_Cart --] inside a div statement with an ID, ie <div id="scCart">. This acts as the anchor for the Javascript
document.getElementById("scCart").getElementsByTagName("td");
This will give you a list of the table cells, then you sort through with a loop checking the className to locate the Table Cells that are the SKU's. Read the innerHTML test for your information, you then know the node offset to the Description for that record, so you can update the innerHTML by adding a <br /> to the end of the exiting text, and then your <input> statement.
I have done this before, except I added additional information on the product from the Javascript Variables.
My question is, you are in the Thankyou Page, what input do you need, and how do you plan on using the information.
MarkB