Experts
My requirement is to have a display the total registration lines on my jsp and a user can also edit those on click of an image next to it, To display the total registration lines Im using the following jpeg Display a pencil next to the total using the code as
<div class="row-fluid" id ="result">
<div class ="span2">
<label><spring:message code='total.registration' />:</label>
</div>
<div class = "span3">
${registrationStatusForm.totalRegis}
<img src="/static/img/icon_pensil.png">
</div>
</div>
and when a user clicks on the pencil next to the value displayed, an additional textbox should appear as below On click of a pencil , a user should be able to edit the total and the icons are different as shown above.
on click of a X , the user should again see the 1st image.
Please suggest a suitable way to achieve this.