<div id="apDiv36" onclick="inc_dwn('.$id_project.')" ><a href="'.$cale.'" onclick="inc_dwn('.$id_project.')"; return false;><img src="download.jpg" border="0" > </img> </a> </div>
the inc_down function is part of a AJAX implementation. I want that this function be be executed when i click the div and in the same time the a href to work. In the code above the onclick does not work, only a href works. I have searched the net and the code above is the best i've found but it does not work.