I am new to the Javascript. Actually i have a Javascript function.
function addHyperlink(val,row){
var temp = row.id;
var temp2 = row.assignee;
var temp3 = row.status;
var temp4 = row.area;
var temp5 = row.product;
var temp1 = '<?php echo $_SESSION['username']; ?>';
var redirect="edit_comments.php?id=" + temp + "&username=" + temp1 + "&assig=" + temp2 + "&stat=" + temp3 + "&areaa=" + temp4 + "&prod=" + temp5;
return '<a href="' + redirect + '" >Edit Remarks</a>';
}
if I click on "Edit Remarks" hyperlink it will redirect to "edit_comments.php" page with parameters. it's working fine. Now I want to change the function so that if I click on "Edit Remarks" hyperlink, the "edit_comments.php" page open as pop-up window instead of new tab or new window.
Could any one please help me what I need to change in that function?
Thanks in advance.
Br, Mahadev