Hi,
I have a script that looks like this:
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=250,height=350');");
}
// End -->
</script>
And a link that looks like this:
<A HREF="javascript:popUp('edit.php')">Open the Popup Window</A>
I want to pass a php variable in the link to the edit page, but don't know where to put it, i've seen examples where it's done in the script and others where its done in the link. Does anyone have any ideas.
Thanks,
Manik