[jQuery] JavaScript question (don't think it's jQuery related)

[jQuery] JavaScript question (don't think it's jQuery related)


At first I thought it was a problem with the forms plugin, but I don't
think so. In IE (6&7) I have an issue related to forms. The data
that I'm getting back (JSON) isn't being displayed. Here is the
success function that I have setup for adding a note in my system:
function finishNote(json, statusText) {
    notes = noteParse(json.notes);
    try {
        $('#notes').append(notes);
        $('#notecount').val(json.notecount);
    }
    catch(err) {
        alert("error");
        //alert(err);
    }
}
I've been putting in alerts to see where it's going, and what's
happening, and it looks like the noteParse function works correctly,
but nothing happens after that. I use noteParse in another area, and
it works correctly, so I would guess that it must be something in this
one. I just added the try/catch today, and I don't get any alerts
from that. Also, if I put in an alert right after noteParse, that one
doesn't run either.
I really wish that IE had something like FireBug to tell me what
errors popped up... Does anyone see anything in that function that
might cause problems?