|
Posted by Steve Chapel on 03/30/06 06:32
Thomas 'PointedEars' Lahn wrote:
> web.dev wrote:
>
>> The Numerator wrote:
>>> I was just wondering that if it is possible to do almost anything you
>>> can do in JavaScript in PHP.
>> Off the top of my head, I would say no. Because in my opinion, one
>> of the most important essences of javascript is the dynamic DOM
>> manipulation, which PHP can not do.
>
> But it can. You are confusing interface language and object model.
>
> <URL:http://php.net/dom>
Yeah, but JavaScript runs on the client, PHP on the server. In order for
PHP to do anything, the browser has to contact the server and get a
repsonse. How would PHP, running on a server, open a new browser window
on the client's computer?
Navigation:
[Reply to this message]
|