I have tried this:
<script type="text/javascript">
function myfunc()
{
ExecuteOrDelayUntilScriptLoaded(GetSuppliers, "Directory.js");
};
_spBodyOnLoadFunctionNames.push("myfunc");
</script>
As suggest on another thread but this does not work.
If I use a link and specify javascript:functionname(); then it works.
Anyone have any ideas?
- Matt