I am encountering an issue with my form, which is contained within a table. Inside the form, there is a field that submits the data via ajax. There is also a span element that should display the output from AJAX once it receives a response from the server.
The response message is "Successfully updated," but strangely enough, this text seems to be causing my field to move. Is there a way to prevent this from happening?
<form method="GET" name="update_address">
<td align="left" class="rowhead">Address:</td>
<td align="left">
<input type="text" size="45" id="address" name="address" class="btcaddress" value="$value/>
<span style="display: inline-block;">
<input type="submit" name="submit" value="Update" size="45" onclick="javascript:xmlhttpPost('index.php?page=main&do=update_address', 'update_address', 'updated', ''); javascript:return false;"/>
</span><span id="updated"> </span>
I apologize for any confusion caused by the poorly formatted code.