-2
I would like to know how to use the following code:
function startTime() {
var dateString = new Date().toLocaleString("en-US", {timeZone: "America/Sao_Paulo"});
$('#txt').attr("data-original-title", dateString, 1000);
setTimeout(startTime, 1000);
}
Without having to add that to your body:
<body onload="startTime();">
Thank you so much for your help!
– Player Beta