RE: [PHP-WIN] Re: HTML event handling

2005-12-01 Thread gued steph
Hi, you can use Js to redirect to PHP. for example : onload="PHPeventhanler(this)" fucntion PHPeventhanler(event) { location.href='HTMLeventHandler.php?event='+this; } this will call your php page with an Id to the HTML objetc witch create the event. there is an event object in Js. In Netscap

[PHP-WIN] Re: HTML event handling

2005-12-01 Thread DvDmanDT
Not unless you can force all users to install PHP and the ActiveScript SAPI module.. Then I think you could do it.. But I haven't tried it.. -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com "Panos Laganakos" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] Is it

[PHP-WIN] Re: HTML event handling

2005-11-28 Thread Ciprian Constantinescu
JS is client side, while PHP is server side, so you can't handle XHTML events with PHP "Panos Laganakos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Is it possible to handle the X/HTML events through PHP or, its only possible through JS? i.e. could I handle an onload event? -- P

[PHP-WIN] Re: HTML event handling

2005-11-28 Thread M. Sokolewicz
Panos Laganakos wrote: Is it possible to handle the X/HTML events through PHP or, its only possible through JS? i.e. could I handle an onload event? Seen as PHP is a *serverside* language and JS is a *clientside* language combined with the fact that DOM events (which includes XHTML/HTML eve