For (var j=0; J
}
The above is my with ajax patchwork li, why showThiredMenu () the implementation of this method, click the second failure, should be how to write? Hope bosses to answer!!!!!!
CodePudding user response:
$(" # ") on (' click ', function (event) {});Use this way to bind the event to try
CodePudding user response:
$(" # id "). Click (function () {$(" # id li "). Each (function () {
})
})
With each
CodePudding user response:
Has now been solved, the first solution to tie, the binding click eventCodePudding user response:
Is big, just a question, a moment is solvedCodePudding user response:
Binding before the click event don't need the tie,,It must be other causes
CodePudding user response:
Don't need to try this solution to events, I live not to eat xiang: $(document) on (" click ", "# id li", function () {}).CodePudding user response:
6th floor big ah, thank you very much