I have the below code in CEWP and I l like that function runs after when the SharePoint site elements are loaded:
-----
<html>
<head>
<script language="JavaScript" type="text/JavaScript">
go ()
function go() {
...
}
</script>
</head>
</html>
THanks