Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6007665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:42:47+00:00 2026-05-23T01:42:47+00:00

I have to send a html in mail with jquery tooltip. The html is

  • 0

I have to send a html in mail with jquery tooltip. The html is working fine but the jquery tooltip doesn’t show up with the HTML. my code is

require_once("config.php");

$to= "something@yahoo.com";
$subject= "Todays follow up status from Murree Hotels Website";

$query= "select * from honymoon_enquries WHERE arrival_date BETWEEN DATE(NOW()) AND DATE(NOW())+7 order by arrival_date";

$res=mysql_query($query);

$message = "<strong>Hi Admin <br><br> </strong>";

$message .= "<strong> Here is the list of all clients coming in next seven(7) days.<br><br> </strong>";

$message .="
<link rel='stylesheet' href='jquery-tooltip/jquery.tooltip.css'/>
<script src='jquery-tooltip/lib/jquery.js' type='text/javascript'></script>
<script src='jquery-tooltip/lib/jquery.bgiframe.js' type='text/javascript'></script>
<script src='jquery-tooltip/lib/jquery.dimensions.js' type='text/javascript'></script>
<script src='jquery-tooltip/jquery.tooltip.js' type='text/javascript'></script>

<script src='jquery-tooltip/demo/chili-1.7.pack.js' type='text/javascript'></script>

<script type='text/javascript'>
$(function() {
$('#right *').tooltip({ 
    track: true,
    delay: 100,
    showURL: false,
    extraClass: 'right'
});

$('#right2 a').tooltip({ showURL: false, positionLeft: true });

$('#block').click($.tooltip.block);

});
</script>
<table width='100%' cellpadding='0' cellspacing='0' style='margin-top:5px;margin-bottom:5px;'> 
    <tr> 
    <td> 
        <div style='border:1px solid #CCCCCC; padding:10px; padding-top:5px; text-align:center'> 
<div>           
<table width='100%' border='1' cellpadding='5' cellspacing='3'>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Arival_Date</th>
<th>Adminfeedback</th>
</tr>
";      
while ($resresult = mysql_fetch_array($res)) {

$message .="
<tr BGCOLOR='99CCFF'>
<td>".$resresult['client_name']."</td>
<td>".$resresult['client_email']."</td>
<td>".$resresult['client_phone']."</td>
<td>".$resresult['arrival_date']."</td>
<td align='left' title='".$resresult['adminfeedback']."' style='cursor:help;'>".$resresult['adminfeedback']."</td>
";      
}
$message .="</table></div></td> </tr> </table></div>" ;


$headers = "From: sales@murreehotels.net"."\r\n";
$headers .= 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";


if (!mail($to,$subject,$message,$headers)) {
   die("Message sending failed");
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:42:48+00:00Added an answer on May 23, 2026 at 1:42 am

    The short answer is you can’t. Mail clients strip out JS. It’s next to impossible to include an external stylesheet in some clients let alone JS

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.