Welcome aboard! We are happy you are here and wish you good net-raft!
function append_div() {
var d = new Date();
var n = d.toLocaleTimeString();
var m = d.toLocaleDateString();
var z = m + "_" + n;
var a = z;
a = a.replace(/[&\/\\#,+()$=~%!.'":*?<>{}]/g,'_');
var text = $("<div id='" + a + "' class='new_div' style='cursor:pointer'></div>").text("");
$("body").append(text);
} 
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507