Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function containsText(text){
- for(var k in index){
- if(index[k].indexOf(text) != -1){
- //Y.one("#"+k).ancestor("li").setStyle("display","block");
- }else{
- //Y.one("#"+k).ancestor("li").setStyle("display","none");
- }
- }
- console.log("DONE!!");
- }
Add Comment
Please, Sign In to add comment