Note that there are some explanatory texts on larger screens.

plurals
  1. POAdd new Dropdownlist on link click
    text
    copied!<p>I have Dropdownlist like this<img src="https://i.stack.imgur.com/x4uZr.png" alt="enter image description here"></p> <p>But there must be shown single dropdownlist and to add other Dropdownlist click on other Time. How this should be done??? Like This</p> <p>This is ASP.NET code</p> <pre><code> &lt;table width="100%" border="0"&gt; &lt;tr&gt; &lt;td&gt; &lt;asp:DropDownList class="chzn-select validate[required]" ID="ddlconvenient1" runat="server"&gt; &lt;/asp:DropDownList&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="wrapper"&gt; &lt;div class="checkboxes"&gt; &lt;asp:CheckBoxList ID="ChkDay1" CssClass="chzn-choices " runat="server" RepeatDirection="Horizontal"&gt; &lt;/asp:CheckBoxList&gt; &lt;/div&gt; &lt;/div&gt; &lt;/td&gt; &lt;td&gt;&lt;button id="btnAdd" type="button" onclick="addRow(this)"&gt;Add&lt;/button&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr id="tr1" style=" display:none;"&gt; &lt;td&gt; &lt;asp:DropDownList ID="ddlconvenient2" CssClass="chzn-select" runat="server"&gt; &lt;/asp:DropDownList&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="wrapper"&gt; &lt;div class="checkboxes"&gt; &lt;asp:CheckBoxList ID="ChkDay2" runat="server" RepeatDirection="Horizontal"&gt; &lt;/asp:CheckBoxList&gt; &lt;/div&gt;&lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr id="tr2" style=" display:none;"&gt; &lt;td&gt; &lt;asp:DropDownList ID="ddlconvenient3" CssClass="chzn-select" runat="server"&gt; &lt;/asp:DropDownList&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="wrapper"&gt; &lt;div class="checkboxes"&gt; &lt;asp:CheckBoxList ID="ChkDay3" runat="server" RepeatDirection="Horizontal"&gt; &lt;/asp:CheckBoxList&gt; &lt;/div&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr id="tr3" style=" display:none;"&gt; &lt;td&gt; &lt;asp:DropDownList ID="ddlconvenient4" CssClass="chzn-select" runat="server"&gt; &lt;/asp:DropDownList&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="wrapper"&gt; &lt;div class="checkboxes"&gt; &lt;asp:CheckBoxList ID="ChkDay4" runat="server" RepeatDirection="Horizontal"&gt; &lt;/asp:CheckBoxList&gt; &lt;/div&gt;&lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre> <p>I make the Now I add button. How could I shown that by making Display yes one by one on button click <img src="https://i.stack.imgur.com/W4t7Z.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload