Ok, you can do it like this. It functions
<script type="text/javascript">
function functionName(name){
alert(name);
}
$(document).ready(functionName('some text'))
</script>
p.s. Please check if you have correctly loaded the jquery by putting this line in the body above this code
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>