display function result in page body instead of message box

display function result in page body instead of message box

I've got function WCFJSON


function WCFJSON() {
    var userid = "2";
    Type = "POST";
    Url = "Service.svc/GetUser";
    Data = '{"Id": "' + userid + '"}';
    ContentType = "application/json; charset=utf-8";
    DataType = "json"; varProcessData = true; 
    CallService();
}



This function is called when document is ready: 


$(document).ready(
    function () {
        WCFJSON();
    }
);



As a result I get dialog box with value corresponding to userid = "2"

Now the question is how do I display the result in page body instead of dialog box? As far as I can understand, I should mention this function in 


<body>
<!--...-->
</body>

Help me plase with correct syntax for doing that.