gradinumcp
IS-IT--Management
Hi there...on my form, I have a text field that displays a number. I have a button next to it with the name "Change". I want to be able to click on "Change", so that the text field becomes an input field, so I can enter a different value and then the page refreshes to display the new value as a text.
<td onclick="enableField();"><%=Computer("ComputerIP")%></td>
<script language="javascript">
function enableField()
{
What goes in here??
}
</script>
<td onclick="enableField();"><%=Computer("ComputerIP")%></td>
<script language="javascript">
function enableField()
{
What goes in here??
}
</script>