PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
lazersam
Forum Contributor
Posts: 105 Joined: Sat Nov 15, 2003 4:07 am
Location: Hertfordshire, UK
Post
by lazersam » Mon Jun 14, 2004 1:13 pm
Anyone know how my PHP script can call a java script?
I want to call a pop up window using java from a php script. I have the code for the pop-up window but I do not know how to call it.
Please help.
Larry.
anjanesh
DevNet Resident
Posts: 1679 Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India
Post
by anjanesh » Mon Jun 14, 2004 1:20 pm
Code: Select all
<?php print('<SCRIPT LANGUAGE=Javascript>CallPopUpFunction();</SCRIPT>'); ?>
lazersam
Forum Contributor
Posts: 105 Joined: Sat Nov 15, 2003 4:07 am
Location: Hertfordshire, UK
Post
by lazersam » Mon Jun 14, 2004 1:42 pm
of course, thanks!
Larry