I need to get items from a html list from the vb.net code behind in my asp.net web site. Any thoughts on how this can be done? I want to use the list items then in an sql statement to retrieve data from a database.
Im using javascript on the front end to handle drag and drop between these two lists:
<div class="demo">
<table>
<tr>
<td valign="top"> <ul id="All" class="connectedSortable sortable" style="border:groove" >
<input name="DEMO" type="text" style="border:hidden; display:table-cell;" value="All Products" />
<li class="ui-state-default">item1</li>
<li class="ui-state-default">item2</li>
<li class="ui-state-default">item3</li>
<li class="ui-state-default">item4</li>
<li class="ui-state-default">item5</li>
<li class="ui-state-default">item6</li>
<li class="ui-state-default">item7</li>
<li class="ui-state-default">item8</li>
<li class="ui-state-default">item9</li>
</ul>
</td>
<td valign="top"><ul id="Selected" class="connectedSortable sortable" style="border:groove">
<input name="DEMO" type="text" style="border:hidden; display:table-cell;" value="Selected Products" />
</ul></td>
</tr>
</table>
</div>
I cannot use the runat="server" option as it removes the javascript drag and drop functionality on the main page. Any help appreciated