evalJSON keine Funktion

Folgendes ist mein code.

$("document").ready(function () {
    var dataName = new Array();
    $.get('<%=request.getContextPath()%>/empBox/ajaxToGetCodes.do', function (responseText) {
        var JSONcustomers = $.evalJSON(responseText);
        var total = JSONcustomers["arrayObj1"].length;
        var index = 0;
    });

Obwohl ich immer die Antwort-text. Aber es ist nicht in der Lage, konvertieren Sie es in json.
Geben Sie den folgenden Fehler.

$.evalJSON is not a function.

Bin hinzufügen alle notwendigen Bibliothek.
jquery-json.js
und jquery.js

Irgendeine Idee, was das problem sein kann??

InformationsquelleAutor Manu | 2011-04-11

Schreibe einen Kommentar