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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -