I have a bit of code below that creates a button on a html form. When a user has entered some information using the button I want the form to reflect this by removing the button and replacing it with just plain text. I have tried getting the inner html and using divs but nothing is working can anybody help please? I am not looking for anyone to write code for me just a few pointers would be great.
<td class="col1"><h3>Associated with :</h3></td>
<td class="col3">
<input type="button"
value="Associate this job "
onclick="associate()"
/></td>
Add a
spanwith anidattribute around whatever it is you want to change. When it’s time, here’s all you need to do:So for instance, you’d have the line:
and your script would say: