Is there a way to load more than one funtion into the _spBodyOnLoadFunctionNames array? I am trying to run three different JavaScript functions on page load. I have tried using
<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("function1");
_spBodyOnLoadFunctionNames.push("function2");
_spBodyOnLoadFunctionNames.push("function3");
</script>
After extensive testing I have determined the only funcion executed on load is the first one pushed into the array. I have looked through a lot of technical documents but every example only shows one function being loaded into the _spBodyOnLoadFunctionNames array.
Thanks