Set up handlers for "mouseover" and "mouseout" on the <input>
tags that show only the <p>
with matching class.
$('form input').mouseover(function() {
$('div.description p').hide();
$('div.description p.' + this.className).show();
}).mouseout(function() {
$('div.description p').hide();
});
(Not tested, but it's probably close.)
Pointy
2010-06-14 19:03:33