jQuery Simple Example
HTML
<script src="//www.addressfinder.co.nz/assets/v2/widget.js"></script>
<label title='⚠ test' for="search_field">Address</label><br>
<label title='test' for="search_field">Address</label><br>
<label title='test' for="search_field">City</label>
CSS
body {
padding: 5px;
}
label {
font-weight: bold;
}
input[type=text] {
width: 20em
}
p {
margin: 1em 0 0;
}
JavaScript
$(document).ready(function() {
$("label").each(function(index){
var title = jQuery(this).attr('title');
title += ' ⚠ Stats are incomplete due to the video being recently published'
jQuery(this)[0].title = title;
});
});