# Executing function

**URL:** https://forum.kirupa.com/t/executing-function/195730
**Category:** Uncategorized
**Created:** [August 2, 2006, 6:37pm UTC](https://forum.kirupa.com/t/executing-function/195730 "2006-08-02T18:37:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)
#### Post date: [August 2, 2006, 6:37pm UTC](https://forum.kirupa.com/t/executing-function/195730/1 "2006-08-02T18:37:42Z")

</div>

there is a function i want to have run right when the page loads. anyone know what the best code to use for this would be?
