php-general@lists.php.net
Sent: Thursday, January 12, 2006 2:51 AM
Subject: [PHP] javascript in php page to use window.open()
Hi everyone,
I am trying to open a new window after a successful function call (I
don't want to use \n";
echo "
window.open(\&q
Hi everyone,
I am trying to open a new window after a successful function call (I
don't want to use \n";
echo "
window.open(\"add.html\",\"resizable=no,width=400,height=200\");";
echo "\n\n";
}
else
Let me preface this by saying that I don't know JavaScript. I've got a page
that is built by a long complicated JavaScript that I was able to hack just
enough to function the way I wanted. There are some lines of code -- those
that define div positioning -- that need to be different depending upon
How can I get a script to work on a page that has HTML generated by PHP and
a javascript with functions called by an checkbox?
javascript:
function PrintScript(){
$js = "function CheckBox1()";
$js .= "{var box1 = window.document.ctype.wr;var box2 =
window.document.ctype.pfo;var box3 = window.docum
ables themselves and construct and run the query in a new request using
php.
you use the same page with control structures on it.
DanO
-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 12:06 PM
To: Matt Davis
Cc: [EMAIL PROTECTED]
Subjec
> I am new to php and I am wondering if it is possible to use a javascript
> variable in a php statement for example:
>
> // create sql statement
>
> $sql = "select * from main where businesstype = "consultancy" and
> top.upper.villagename = != "0";";
As far as I know, no. Unless
I am new to php and I am wondering if it is possible to use a javascript
variable in a php statement for example:
// create sql statement
$sql = "select * from main where businesstype = "consultancy" and
top.upper.villagename = != "0";";
Is it possible to make this work if "top.
7 matches
Mail list logo