webkit浏览器下运行的好好的jquery代码,用IE打开发现页面jquery部分无法显示!当场崩溃!
大家给个寻找问题的思路吧!谢谢~

解决方案 »

  1.   

    哈哈,一般的考虑思路呢?现在手头也无码,晚上回去才能上码
    也就是说一般jquery不会碰到移植性问题是吧?是不是jquery内部对不同浏览器实现的都比较好?
      

  2.   

    如果是全jquery的代码和方法,不含有js的本身代码、css的话应该不会出现的
      

  3.   

    上代码!
    一段从xml数据建html表的代码:function make_table_from_xml_to_html (xml, suffix, operation)
    {
            var word_table = "<table id=\"word_table\"><tr class=\"header\"><th>Word Transform</th><th>Operation</th></tr>";
            var table_rows = "";
            var full_word = "";
            var line = "odd";
            $(xml).find("word").each (function () {
                    alert("hehe");
                    full_word = $(this).text();
                    alert(full_word);
                    table_rows += "<tr class=\"" + line + "\"><td width=\"400\">动词";
                    table_rows += full_word.substring(0, full_word.length - suffix.length);
                    table_rows += " + " + suffix + "变过去式" + full_word + "</td>";
                    table_rows += "<td><a id=\"" + $(this).text() + "\" href=\"\">False</a></td></tr>";
                    line=="odd" ? line = "even" : line = "odd";
            });
            alert ( table_rows );
            word_table += table_rows + "</table>";
            alert ( word_table );
            return word_table;
    }alert定位的结果是$(xml).find("word").each (function () {});这个函数没执行!
    这是为什么呢?怎么改?请指教!