asp.net - Changing a div to Text Box? -


i have div area following in .aspx program.

   <div id="valueintroduction" type="text" class="labelarea" runat="server">      </div>    <div  class="line"></div>    <asp:button id="editbutton" runat="server" text="edit" /> 

currently div valueintroduction getting data database. have edit button in program. when press edit button trying change div text box.

try this..

1.add textbox , make visible="false"

2.when clicking edit button copy div's contents textbox , make div invisible using visibility:"hidden".

3.set textbox visibility true.


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -