このファイルをセクションに含めるという奇妙なバグがあります
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/barScriptOOP.js"></script>
barScriptOOP.js で私はこれを持っています
function position_bar(){
    //global variable
    this.sizes      = Array();
}
//class methods => getData (from xml file), draw(draws the bar )
position_bar.prototype ={
    getData: function(is_load){
        var xmlData = Array();
        $.ajax({
            type: "GET",
            url: "Bar.xml",
            dataType: "xml",
            context: this,
            success: function(xml) {
                //extracting new data - some code here
                                xmldata = "blabla";
                this.draw(is_load, xmlData);
            }
        })//end ajax
    }, 
//other functions 
このスクリプトを使用すると、「$.ajax は関数ではありません」というエラーが表示されます。1. 編集してみthis.draw(is_load, xmlData);ましたが、エラーにはなりませんでした。私のプログラムは繰り返し getData 関数を呼び出します。
注:'$.browser is undefined'他の関数にあるエラーも発生します(これが最初のエラーです)。
意味==>別の関数に行くとjqueryができなくなります。
ここで何が起こっているのですか?