[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    RE: [PHP-WIN] Re: HTML event handling
From:       gued steph <sgue35 () yahoo ! fr>
Date:       2005-12-02 7:30:17
Message-ID: 20051202073017.39080.qmail () web25801 ! mail ! ukl ! yahoo ! com
[Download RAW message or body]

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 Netscape event.type
send the event type (abort, mouseover,...) fo IE you
have to test event.abort, event.onmouseover, ... to
know event type.

Stephane
--- DvDmanDT <dvdmandt@telia.com> a écrit :

> 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" <panos.laganakos@gmail.com> skrev
> i meddelandet 
>
news:cea328d10511280520q3adcab19vf3435324aefe6921@mail.gmail.com...
> 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? 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 



	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic