Since I made the JQ custom paging plug-in and table plug-in last time, I haven’t customized the plug-in. I have been using linq and ef this month, and I haven’t touched the basic front-end. Today I have a colleague It was said that there was a project that required a checkbox in the drop-down box. I originally wanted to find a plug-in online, but after thinking about it, this function is actually not difficult, so I made one myself and took the opportunity to familiarize myself with the JQ custom plug-in again. Okay, okay, let’s attach the renderings first:
It doesn’t look that difficult, but it’s actually about strengthening your JQ so that it won’t become rusty if it’s not used for too long. alright. Attached is my code:
FoucsShow($(obj),myList); } // when Get the focus so that the drop-down box appears function FoucsShow(obj,myList) .fn .createList=function(newoption) })(jQuery);
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn