$(document).ready but js file is not loaded yet
I have a asp.net webservice, it creates a jsdebug js file dynamically,
<script src="../app_ws/linkdataservice.asmx/jsdebug" type="text/javascript">
</
script
>
the first line of the file is
Type.registerNamespace('LinkLibrary');
..
in $(document).ready, I call the LinkLibrary class, it worked fine, but recently, I always got LinkLibrary is not defined error,
After a lot of effort, I found that the the jsdebug is not loaded or parsed when the $(document).ready is called, that is unbelievable, any idea what could cause it?
thanks