Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var the_val = document.pop_up_form_name.field_name.value;
window.opener.parent_form_name.field_name.value = the_val;
<script language="javascript">
<!--
function popParent(the_val) {
window.opener.parent_form_name.field_name.value = the_val;
}
-->
</script>
...
<?
echo '<a href="#" onclick="popParent(\'' . $val . '\')">' . $val . '</a>';
?>