title: Find a control's row number in an HTML table
body: <p>I have an HTML table called DataTable. In my C# code, I add several rows/cells to the table. The first cell of each row has a drop down list called "ddlLevels_[id]" where id is the corresponding id in the database.</p>
  
  <p>My ultimate goal is based on certain options selected in the drop down list, to add a row under the current row.</p>
  
  <p>How would I accomplish adding the row? I assume I need to find which row number this element is currently on and insert a row afterwards. How do I find that row number?</p>