Posted by Jerry Stuckle on 07/05/07 23:52
Kent wrote:
> Hi:
>
> I am hoping someone can help me out. I am trying to run javascript
> within a PHP file. The javascript works fine within a html file but
> when I move it over to a PHP file it longer works.
>
> Any ideas? Is there specific order?
>
> Thanks in advance!
>
Javascript runs on the client; PHP runs on the server.
As long as you either output the javascript as you would if it were in
an HTML file or echo/print it to the browser, it should work fine. The
client won't care.
But you didn't give us any code, and my crystal ball is broken, so it's
hard telling what your problem might be.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|