|
-
Oct 27th, 2005, 10:27 AM
#1
Thread Starter
Lively Member
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
-
Oct 31st, 2005, 08:23 AM
#2
Junior Member
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.
-
Oct 31st, 2005, 08:24 AM
#3
Lively Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|