how to get the title attr value in jquery code example Example: jquery set title attribute $('#yourElementId').prop('title', 'your new title');