How to convert label to textbox?
===

Hi I want to convert label field to textbox on image click event.
My html file is 
  

     <div>
                        <div id="tagCust">Customer Details<img src="images/edit.png" class="alignright"/></div>
                    </div>
                    <div id="contactdetail">
                        <div id="contactInfo">
                            <label for="emailid" class="contactText" data-inline="true">Email Id*</label>
                        </div>
                        <label for="mobileno" class="contactText" data-inline="true">Mobile No.</br></label>
                        <label for="custid" class="contactText" data-inline="true">Customer Id.</label>
                    </div>

i want to convert mobile no and and email id label to textbox on click of edit image..can anyone has any idea how to convert it.Please help me.Thanks in advance.

