Hello, I am new guy for jQuery, and I got a problem where I am going to call a function in jQuery plugin js file. That's a json plugin file and named "json.js", it has a function named "$.json.encode(obj)", I am sure I set it referred in html file correctly, then I call it in $(document).ready(), in firebug console, it told me this function is undefined, then I call it in $.getScript ("json.js", function(){...}), it works well. Would you please to help how to call it without call $.getScript () ?
Thank you very much for your help. best regards.