How to modify the HTML in Javascript and then read the changes in ASP.NET on the postback?
<p>This is a two-fer, and I've looked in a lot of places and could not put together a solution for this particular scenario.</p>

<p>I will have the user enter multiple values using a single text field, such as:  </p>

<pre><code>&lt;div style="margin-left: 5px; display: block;"&gt;
    &lt;div id="divTemplateLine" style="display: none;"&gt;
        &lt;a href="javascript:" onclick="javascript: RemoveLine(this);"&gt;x&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;  
</code></pre>

<p><img src="http://i.stack.imgur.com/XGZem.png" alt="enter image description here"> </p>

<p>Using Javascript, the Add button will keep cloning divTemplateLine and include the text within the parent node.<br>
I got all that working fine.  </p>

<p>Now, I'd like to read all these lines (salmon, soup, miso, japanese) on the postback.<br>
I'm assuming at this point I'm in the realm of parsing HTML, since these div's I added are not "runat" server.  </p>

<p>One answer could be using a server-run hidden value, where the Javascript will keep appending to it..  yes that's a good solution, but I'd like to see how I can parse out the HTML elements and nodes just as I did in Javascript, because my real scenario is more complicated than a single value, so a hidden value will not quite do.</p>

<p>Any input and/or judgment is welcome.</p>
