-
Click event2
I have a picture and want a variable to change if the user clicks on this picture. If possible without reloading the whole page.
Is there a way in general to clear parts of the page with php without reloading it? And how to rewrite stuff there??
Please help.
FES
-
Re: Click event2
The things you are wanting to do can only be done with javascript. Since javascript is clientside and PHP is serverside, their ability to interact is VERY, VERY limited. Therefore, no, you cannot do this without reloading the page. That is the only way to pass information from javascript to PHP.
If you need help doing that, let me know.
-
Re: Click event2
If you put parts of your HTML in <div> tags you can hide those parts. This does not require reloading, but is entirely javascript.