I've an empty input box where I can type whatever I want to. When I hover my mouse on the input it should show title as the text present in input box.

```
<input type="text" />

```

```js
$(document).ready(function() {
    $('input').mouseover(function() {
        var $txt = $('input').text();    
        $('input').attr('title', $txt);
    })
})

```

`[**Live Demo**](http://jsfiddle.net/iamraviteja/bFw2h/69/)`