What I'm trying to do is create some jQuery code that will initiate some PHP code and reload the page when I click on an image. I've created the code below but am confused at what type of event handler in jQuery is necessary to initiate PHP code. I suspect this is borderline AJAX, with the exception being that this is synchronous. Here is the code below.
<script src="http://code.jquery.com/jquery-latest.js"></script>
<style>
img:hover { border:1px solid #021a40; margin: 1px; padding: 1px; color: #000000;
cursor:pointer;};
</style>
<script>
$(document).ready(function(){
$('img').on('click',"img",function(){
$(this).slideUp();
What do I put here?????
});
});
</script>
<img src="image.gif" width="50" height="50" />