jquery set title attribute 1

jquery set title attribute

$('#yourElementId').prop('title', 'your new title');

Here is what the above code is Doing:
1. Select the element with the id of yourElementId
2. Set the title attribute to your new title

Similar Posts