Answers for "change 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
0

jquery change document title

<script type="text/javascript">

    $(document).ready(function() {
        document.title = 'blah';
    });

</script>
Posted by: Guest on July-29-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language