function thisismyfunction(){
} $(document).ready(function(){ code in here.... }); $(document).ready(function(){ thisismyfunction() }); On Jun 9, 6:40 am, simon <si...@uvfx.tv> wrote: > I have some code seperated by script: > > $(document).ready(function(){ > code in here.... > > function thisismyfunction(){ > > } > }); > > then later on i have > > $(document).ready(function(){ > > thisismyfunction() > > }); > > code in here with a call to the function above, but because its > seperated it will not call the above function is there a way I can > reference the a function outside in another declaration etc > > many thanks si