RE: Re: HTML event handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> skrev
> i meddelandet 
>
news:cea328d10511280520q3adcab19vf3435324aefe6921@xxxxxxxxxxxxxxxxx
> 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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux