This topic is locked

dynamic tooltip text

10/26/2007 11:10:42 AM
PHPRunner General questions
M
mounir author

hello all,

i need in a add new page , make a tooltip text for each field to explane what it means

the text of the tooltip is in the database in comments field of the table
how can i show in the tool tip the comment value for each field
thank you

G
giles 10/27/2007

One way is to use javascript to set the onmouseover event for the relevant fields that will cause your tips to be displayed.
The onmouseover event can use AJAX to access the database to get the tip.
See my post in the tips and tricks forum on using AJAX. the purpose is different but the same technique can be applied.
giles.