I have set up an input element…which is value gets populated from the server-with PHP code:
$address=get_address($_SESSION['valid_user'],$conn);
<input value="<?php echo $address['url'] ?>" type="text" 'class="text"
size="40" name="wwwaddress">
the problem begins when trying to edit the above input(the data is sent to the server with AJAX…by the way)
The value entered in the input box does not update the value attribute cause it is “taken” from the previous value brought from the server…what can I do in this case?
Updating the values attribute when filling the box and at the same time fetching the the most recent value from the server.