i have a problem a little bit like this one :
jQuery onclick doesn't work on a button with data-toggle and data-target
But i can't apply the solution from @epascarello to my problem
I'm using bootstrap and I want to add a collapse and an onclick action on the same < a>
<a class="control" data-toggle="collapse" data-target="#demo"onclick="play('audioPlayer', this)">
If I delete the data-toggle part, the onclick works, and if i delete the onclick part, the data-toggle works,
Could anyone help me ?
Thank you :)