$('#cc').combotree({ onBeforeSelect:function(node){ if (...){return false) // return false to prevent from selecting a node. }});