I’m sure there’s a better way to do this but here’s my simple solution that works to enhance a web form ; the problem I wanted to solve was that I wanted my users to see messages when onmouseovering different fields of a form (to get detailed explanations).

Here are 2 simple functions that does the job :

* These 2 function show/hide hints on the form
function ShowP(id){
function HideP(id){

And this can be used to call the functions :

<div onmouseover=”ShowP(‘P2’);” onmouseout=”HideP(‘P2’);”>

Simple but not beatifull. Well at least it works !