<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="http://www.ailis.de/~k/scripts/jquery/plugins/fullscreen.js"></script>
<script type="text/javascript">
$("#btn").live("click", function () {
$(document).fullScreen(true);
});
</script>
<input type="button" id="btn" value="btn" />
i want to work on page load not on button click please advice how it can be called on page load