|
Posted by Rik on 12/18/08 11:48
tony@tony.com wrote:
> <input type=button name="btOne" value="Click-Me" id = "mButton"
> onClick = "<?PHP verify(); ?>" >
>
> I did think you could do this - am I wrong?
Yes, you are
> (Incidently I'm also having trouble getting onBlur to work in a
> similar form with PHP.)
PHP != javascript.
It runs on the server not onthe clients machine, so simply speaking as soon
as the content is sent it's job is done. It can't tell what you are doing in
a html page. If you want PHP to handle (new) values, you will have to send
them to the server. In most cases this means requesting a new page.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|