I have installed four following plug-ins.
2. Cubepoint Buddyshare Integration
If i add:
alert("<? cp_alterPoints(cp_currentUser(), +8); ?>");
..After that I have put the function on click event
echo '<li class="bpsi"><img src="' .$pluginpath . '/buddypress-share-it/img/'.$bpsi_iconsize.'px/Facebook.png" alt="Share on Facebook">';
But it is not working onclick, it doesnot wait for the 'onclick' event.
I want to know if i can add any PHP function in HTML onclick event.
I would be very much thankful to you.