Need to popup a message on mouseover

Hello,

I have a PHP variable that gets loaded from my database.

I am presenting a list to the users and the variable is in each row containing a message.

I want to show the message when a user hovers over a field or image.

Having a hard time getting this to work., looked at jQuery.

thanks

you can create a tooltip like this:




<div class="row" title="<?=$yourmessage?>">

   ... row contents ...

</div>



It is not working if any of the data is formatted in html.

yes, you have to strip out the html OR use something fancier like this: http://jqueryfordesigners.com/coda-popup-bubbles/

Thank you