How can i do JS-similar events in PHP?
Posted: Sat Mar 27, 2004 6:40 pm
I may sound like a complete newbie, but I have a minor question - how can I use JavaScript-like events in PHP? For example, the onClick function. I want to be able to type in a PHP/HTML document:
But rather than the onClick event, i want the PHP equivalent. How can I do this without using an HREF attribute?
Thanks for your help.
Joe
Code: Select all
<a onClick = "function()">Thanks for your help.
Joe