resources/assets/js/keywords_search.js
//Fill the related $keywordsDropdown in $targetIframe with keywords defined by the attribute
Fill the related $keywordsDropdown in $targetIframe with keywords defined by the attribute
Fill the related $keywordsDropdown in $targetIframe with keywords defined by the attribute
function fillKeywords($keywordsDropdown,$keywordsArr) {
        $.each($keywordsArr,function(){
           var keywords = keywordsArrStr($keywordsDropdown);
                var keyword = '<li><span class="badge"></span><a htef="#">' + this + '</a></li>';
            if($.inArray(this.toString(),keywords)==-1){
                $(keyword).appendTo($keywordsDropdown);
            }
        });
    }
function fillKeywords ( $keywordsDropdown , $keywordsArr ) { $ . each ( $keywordsArr , function ( ) { var keywords = keywordsArrStr ( $keywordsDropdown ) ; var keyword = '<li><span class="badge"></span><a htef="#">' + this + '</a></li>' ; if ( $ . inArray ( this . toString ( ) , keywords ) == - 1 ) { $ ( keyword ) . appendTo ( $keywordsDropdown ) ; } } ) ; }
Fill the related $keywordsDropdown in $targetIframe with keywords defined by the attribute
Fill the related $keywordsDropdown in $targetIframe with keywords defined by the attribute