jquery search and filter elements in a superfish menu -


I'm using the superfish jquery plugin and its okay. But I have got a menu with 'many' voices (at least 300) and I am thinking that there is a way to filter the voice of the menu depending on the inserting some text field and the user who users are writing.

Such () ... but it looks a lot ugly!

Regards, Segolas

My code search within a large HTML table, which includes fields related to email, and add and remove elements in the menu based on the type of user in the input text field.

Javascript code: $ (function () {$ ('# msg index'). Superfish (); $ ("# menu filtertextfilled"). Key (function () {$ ("# msgInexex li: (":" "$ +" ("# MenuFilterTextField"). Val () ("# menuFilter ')" empty (); var id; var mail subject, $ (". +"') "). Each (function () {id = $ (this) .attr ('id'); mailsubject = $ ($ (this) child (".mail" subject)). Html (); $ ("#msgindex") Attachments ("

  • );}};});

    });

    and html:

      

  • Comments

    Popular posts from this blog

    c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

    Calling GetGUIThreadInfo from Outlook VBA -

    Obfuscating Python code? -