$(document).ready(function (){
    //findField();
    disableAnchors();
});

function disableAnchors(){
    var sText = $("input[id*='txtButtonsToDisable']").attr('value');
    if (sText && sText.length > 0){
        var buttons = sText.split(" ");
        for (var sCurrentButton in buttons) {
            if(buttons[sCurrentButton] && buttons[sCurrentButton] != '') {
                $('#' + buttons[sCurrentButton]).click(function (){
                    return false;
                });
            }
        }
    }
}
