This allows me to select any file and does not limit the selection to .xls, .xlsx files ??
$('#xfiles').filebox({
multiple: false,
buttonText: 'Choose File',
buttonAlign: 'left',
accept:'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel',
onChange: function(nv,ov){
$(this).textbox('textbox')[0].value = nv.replace("C:\\fakepath\\", "");
var tgt = $(this).next().find('.textbox-value')[0];
xl2json(tgt,function(res){
alert(JSON.stringify(res))
});
}
})