I have a dropdown in my menu for a site I'm creating with boostrap and the dropdown doesn't seem to work. I am using Boostrap 2.3.2 Below is the code for my dropdown:
COUNT
And after doing a little bit of research, I've read that the order of the .js, .css, and jquery links might have an affect. This is the current order I have them in, perhaps this order is what is causing the problem:
GROUP BY
答案 0 :(得分:0)
1st, load css first, put your css in HttpContext.SignInAsync?
tag
2nd, load js before the class App extends React.Component {
constructor() {
super()
this.state = {
members: [
..
],
visibleMembers() {
return this.members.filter(m => m.display)
}
}
}
render() {
const members = this.state.visibleMembers()
return (
<div>
<p>Number of rows = {members.length}</p>
{members.map(m => <p key={ m.id }>{ m.name }</p>)}
</div>
)
}
}
example:
key
答案 1 :(得分:0)
好的,我发现了什么问题。 Bootstrap 2.3.2与JQuery 3.0及更高版本不兼容。使用JQuery 1.9修复了问题。