add title to div jquery code example Example: jquery set title attribute $('#yourElementId').prop('title', 'your new title');