On 5/20/08, Shelley <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> How can I call a javascript method inside PHP?
> That is:
> Suppose there is a js file: http://someurl/somejs.js
> There are some js methods in that js file,
> I want to include that js into PHP and call its methods.
>
> Is it possible?
Shelley wrote:
Hi all,
How can I call a javascript method inside PHP?
That is:
Suppose there is a js file: http://someurl/somejs.js
There are some js methods in that js file,
I want to include that js into PHP and call its methods.
Is it possible?
No.
What you can do though is use PHP to se
Yea, of course.
On Tue, May 20, 2008 at 5:44 PM, jose javier parra sanchez <
[EMAIL PROTECTED]> wrote:
> Do you know that php runs on the server and that javascript runs on the
> client ?
>
> 2008/5/20 Shelley <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > How can I call a javascript method inside PHP?
You missed what I meant.
Suppose there is a piece of code like:
function hello() {
document.write "hello";
}
I want to call that method inside PHP:
Hope you get it.
On Tue, May 20, 2008 at 5:40 PM, Chetan Rane <[EMAIL PROTECTED]>
wrote:
> Yea
>
> You can use the script tag in PHP
>
> I
4 matches
Mail list logo