watthehell Posted September 10, 2007 Share Posted September 10, 2007 hi I wrote this code, but it is not working <a href=\"#\" onMouseOver=\"ajax_showTooltip('raju.php?id='.$i.'',this);return false\" onmouseout=\"ajax_hideTooltip();\" class=".$date_class.">".$i."</a></td> I want to pass the value of $i on popup, but it is not working can u please help on it.. ajax_showTooltip('raju.php?id='.$i.'',this) in the bold part... thnks a lot Link to comment https://forums.phpfreaks.com/topic/68669-solved-help-on-this-simple-code-please/ Share on other sites More sharing options...
hackerkts Posted September 10, 2007 Share Posted September 10, 2007 You are writing it on html or a php tag? Link to comment https://forums.phpfreaks.com/topic/68669-solved-help-on-this-simple-code-please/#findComment-345190 Share on other sites More sharing options...
watthehell Posted September 10, 2007 Author Share Posted September 10, 2007 i am writing this inside php tag, this code is inside ECHO <?php echo "<td class=".$class_bg."> <table width=\"25\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\"> <tr> <td> </td> <td align=\"right\" valign=\"top\" class=".$date_class."> <a href=\"#\" onMouseOver=\"ajax_showTooltip('raju.php?id='.$i.'',this);return false\" onmouseout=\"ajax_hideTooltip();\" class=".$date_class.">".$i."</a></td> <td style=\"width:3px\">"; $_SESSION['mydate']= $i; echo " </td> </tr> <tr> <td colspan=\"3\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td colspan=\"2\" style=\"height:8px\"></td> </tr> </table></td> </tr> </table> </td>";?> Link to comment https://forums.phpfreaks.com/topic/68669-solved-help-on-this-simple-code-please/#findComment-345191 Share on other sites More sharing options...
watthehell Posted September 10, 2007 Author Share Posted September 10, 2007 okie... finally i figured out <?php <a href=\"#\" onMouseOver=\"ajax_showTooltip('raju.php?id=".$i."',this);return false\" onmouseout=\"ajax_hideTooltip();\" class=".$date_class.">".$i."</a></td>?> closing this thread now... Link to comment https://forums.phpfreaks.com/topic/68669-solved-help-on-this-simple-code-please/#findComment-345196 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.