Popup opener script is in this main file.
On this main page everything is working: the click alert, popup alert and the popup page.
Table file directly viewing: popup alert is working, popup page is not working.
Used table file: ajax_table-B.htm.
Used popup file: ajax_popup.htm.

in the table file:

<p><a href="#" onclick="alert('you clicked!'); return false">click-alert?</a></p>
...
<td><input id="val" value="giveValue!"></input></td>
...
<p><a href="#" onclick="pop(); return false">popMeUp!</a></p>
...
in this file:

<script type="text/javascript">
function pop(){
   var val=document.getElementById('val').value;
   alert('PopUp is coming!');
   window.open('ajax_popup.htm' + "?val=" + val, "_blank", "directories=no, status=no, menubar=no, scrollbars=yes, resizable=no,width=600, height=280,top=200,left=200");
}
</script>

Previous: ajax_testing-A.htm | Next: ajax_testing-C.htm