Thanks kav
solution
<head>
<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=300,height=200,left = 200,top = 100');");
}
</script>
</head>
-
-
-
-
-
//echo the statement dont put it in simple html
//echo" ..........form tags ...........";
<form>
<?php
echo"<input type=button value=\"Reattach\" onClick=\"javascript:popUp('indexattch.php?id=$hid')\">";
?>
</form>
bellow code is not working------------------------------
<form>
<input type=button value="Reattach" onClick="javascript:popUp('indexattch.php?id=$hid')">";
</form>
Again thank you very much "kav"
Bye for now friends
bhoomika