IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this forum will no longer be available. More details available on our FAQ.
  • 1 reply
  • Latest Post - ‏2014-09-20T11:13:38Z by jitupkp
1 Post

Pinned topic Ajax scriptng inside a href tag

‏2012-06-03T18:42:55Z |

I have hover function something like this

<SCRIPT type="text/javascript">
$(document).ready(function () {

var card<?php echo $duplicate$i; ?> = '<p align="left">' +
'<b><?php echo $fname; ?>'+
' <?php echo $lname; ?></b><br/>'+

'<?php echo $smallbio; ?><br/><br/>'+
'<a href="http://abc.com"> <img src="http://welectricity.com/images/misc/friends_icon.png"/></a>'+

$("#<?php echo $duplicate$i; ?>").hovercard({
detailsHTML: card<?php echo $duplicate$i; ?>,
width: 400,
When friends_icon.png is clciked, i need to perform an operation with out page reload. Can some one help me out ?