troubleshooting Question

Dynamically add a textbox with same size and class as textbox above it

Avatar of zachvaldez
zachvaldezFlag for United States of America asked on
JavaScriptCSSASP.NET
37 Comments1 Solution563 ViewsLast Modified:
Im trying to create a comment page but would like to dynamically add a textbox with same class and size,look as the textbox above it when a button is click that says "Add comment"
Here's the html

<tr>
      <td class ="style3">
            <asp:Label ID="Label1" runat="server" Text="Comment:"
                cssClass="pit" Width="137px"></asp:textbox>
   </td>
   <td>
        <asp:TextBox ID="TextBox7" runat="server" cssclass="hist" height="51px"
                 TextMode="MultiLine" Width="384px"></asp:TextBox>
</td>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 37 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 37 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros