first of all is this called a tooltip or am i on about something different?
anyway, i have managed to get a tooltip working as can be seen in the image link below. but the little box that pops up saying 'Password must be more than 6 characters' how do i target and hit this and change the style. so far i have either not been able to change it or the box i am hovering over is styled.
http://www.tiikoni.com/tis/view/?id=1fb09eb
here is some code:
html:
<label for="password">Password </label> <input type="password" id="pword" title="Password must be more than 6 characters long" ><br>
js:
<script>
$(function() {
$( document ).tooltip({
tooltipClass: "passwordTooltip"});
});
</script>
css:
[title]:after{
background: #333;
}
[title]:hover:after{
background: #333;
}