Re: Embedding JavaScript into a PHP generated web page
| From: | Torsten Roehr | Date: | Sun, 25 Jul 2004 15:38:06 +0000 |
| Subject: | Re: Embedding JavaScript into a PHP generated web page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191819@lists.php.net to get a copy of this message | ||
"Robert Frame" <Robert_M_Frame@verizon.net> wrote in message
news:20040725153214.12854.qmail@pb1.pair.com...
> Hi There,
>
> I have a web page with a form that is generated by PHP, and part of my
> design utilizes JavaScript to provide some error checking within the
objects
> in the form. I have written the javascript in an html document, but I am
> having trouble blending the two together.
>
> I have tried sending the javascript within an echo statement, as well as
> using straight HTML/JavaScript code, but nothing seems to work.
>
> Can anyone offer some help or direct me to a solution?
>
> Thanks,
> Rob
Hi Rob,
usually it works by just putting plain JS/HTML into the page outside of the
php code sections. But without seeing any code we cannot help you.
Regards, Torsten Roehr