Answers for "add title attribute jquery"

1

jquery set title attribute

$('#yourElementId').prop('title', 'your new title');
Posted by: Guest on October-15-2020
0

jquery set title

$('#yourElementId').prop('title', 'your new title'); // jQ 1.6+
$('#yourElementId').attr('title', 'your new title'); // jQ <1.6
Posted by: Guest on April-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language