PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have written a program where you click on an icon next to a field and a new window opens with a list to choose from. When you click on an item, the new window closes and the information about the item is stored in a variable. Is it possible to make it so when the new window closes, the field changes with the new information without reloading the whole page. If I reload the whole page, all the other items that were changed without being saved is lost!
<script type='text/javascript'>
function loader()
{
var from = document.getElementById('junk').value;
var to = this.opener.document.getElementById('trashcan');
to.value = from;
self.close();
return;
}
</script>