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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -