There are always a lot of details. If you want a better customer experience, you must be picky! I encountered a small problem. How to realize that the initialized value of the select drop-down menu button is only displayed when it is loaded for the first time, and then it is still displayed in the drop-down menu but is not selectable? The effect here is selectable, you want it to be unselectable. Speaking of the function that cannot be selected, I need to add a disabled attribute to the label, but after adding it directly, I found that the initialized default value cannot be displayed. This is not what I want, so I am at a loss...Friends It was said that it could be implemented using js, but I didn’t know how to break it, and no one could help. So someone came up with the idea of nesting an if statement, but not adding this attribute the first time, so—— That's OK... Then, there is the second functional question, how to implement fuzzy retrieval of menu names? This really stumps me... (It seems that every problem stumps me, and I ask netizens to solve it.) The initial idea is to add a search condition based on the original search function. Just add it at this location. However, since I initially thought that the menu name I wanted to fuzzy search was the field name, so using the '%'.like.'%' syntax was useless.
Introduction:: ThinkPHP’s difficult and complicated diseases (5): There are always many details , if you want a better customer experience, you must be picky! I encountered a small problem. How to realize that the initialized value of the select drop-down menu button is only displayed when it is loaded for the first time, and then it is still displayed in the drop-down menu but is not selectable? The effect here is selectable, you want it to be unselectable. Speaking of the function that cannot be selected, I need to add a disabled attribute to the
2. The select box in the thinkphp template cannot be selected,
Introduction: in the thinkphp template The select box cannot be selected, please help! ! ! Hello everyone, why is it written like this in the thinkphp template, and the select box is not selected when the two values are equal?
3. select in thinkphp template The box cannot be selected,
Introduction: The select box cannot be selected in the thinkphp template, please help! ! ! Why do I write this in the thinkphp template when there are two values? When equal, the select box is not selected?
The specified content cannot be selected through script control_Typical special effects
Introduction: The specified content cannot be selected through script control5.
Extjs table text enable selection copy function specific implementation_extjs
Introduction: extjs provides a convenient table component grid for use, but by default In this case, the text in the table cannot be selected, and naturally it cannot be copied. The following will introduce how to enable the selection and copy function. Interested friends can learn about it
The above is the detailed content of Recommend 5 articles about articles that cannot be selected. For more information, please follow other related articles on the PHP Chinese website!