html membuat tooltip tersedia jika teks meluap

$('.mightOverflow').bind('mouseenter', function(){
    var $this = $(this);

    if(this.offsetWidth < this.scrollWidth && !$this.attr('title')){
        $this.attr('title', $this.text());
        //OR $this.attr('title', $this.val()); //If using input
    }
});
Lazurite