Loading Plugin on a DIV

Loading Plugin on a DIV

Hi, I'm learnig jquery and really enjoying it.

It is very easy to use and I'm developing all I want in a blink. But now, I'm stuck trying to show a load info on a div, while a json request is running on PHP.

Here's my code:

    $("#itemList").loading({onAjax:true, text: 'Waiting...'});
    $.getJSON("request.php", function(jsonData){
        fnShowItens(jsonData, "xxxx");
    });

I'm using the loading plugin http://plugins.jquery.com/node/8776/release, and tried it a low of ways. This last one works (show waiting, remove waiting) but it triggers on all actions, not only the one that call the function that has this code.

What I'm doing wrong? Or there are others options to do a load effect on a div only in certain actions?

Thanks all and sorry for my english.