I know this question is already asked, but my problem is different. I have a code field created with Display Suite, that displays an audio player named AblePlayer, with a playlist of three tracks. In this field there is a list of buttons that select tracks to play. The list is created dynamically with foreach, depends on field items. When button is clicked, AblePlayer selects automatically the track and plays it.
The problem is that drupal refreshes the page and Player stops playing!
I'm using html to create these buttons, don't use arrays.
I tried to create a button that does nothing, to see if the problem is AblePlayer, but drupal refreshes the page also if button is simply a button…
<button>something</button> does nothing, but drupal refreshes the page!