How to show some information while hover on checkbox? [closed]

Just add a “title” attribute to your HTML object.

<input title="Text to show" id="chk1" type="checkbox" value="monday" checked="checked" />

Or in JavaScript

document.getElementById("chk1").setAttribute("title", "text to show");

Or in jQuery

$('#chk1').attr('title', 'text to show');

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)