Call function outside (function($){ })(jQuery);
Hi,
I'm new to jQuery and working on a code now, I can't figure out how to call a function outside of the
(function($){ })(jQuery); tags. Here is a bit of my code:
<script type="text/javascript">
//Call the function from here
(function($){
$(function(){
// function I want to call:
function testfunction (){
//Some code...
};
});
})(jQuery);
</script>
I need this because the function call comes from an external file in my website.
Can anybody help me out???
Thx.
Daniel