﻿$(document).ready(function () {

    // Effacer les champs
    //    $('#btClearSearch').click(function () {
    //        $(this).parents('body').find('form select option:selected').removeAttr('selected');
    //        JurisChangeClick();
    //        $(this).parents('body').find('form :input:not(#fsCollection :checkbox, .btClear, :radio, [type=submit])').val('').removeAttr('checked').removeAttr('selected');
    //        $('#CollectionUncollapse').html('Cocher tout');
    //        $('#CollectionUncollapse').click();
    //        return false;
    //    });

    $('#btClearSearch').click(function () {
        $('#hbtClearSearch').click();
    });

    $('#btValidSearch, #btValidSearchWords, #btValidSearchJuris, #btValidSearchLegis, #btValidSearchDoc').click(function () {
        searchWaiting();
        $('#btValidSearchHidden').click();
    });
});   
