I am using a toggle drop down pane in Foundation. Here is my code...
<td><button class="button" type="button" data-toggle="<%= request.id %>">View</button>
<div class="dropdown-pane" id="<%= request.id %>" data-dropdown>
<%= request.agenda %><br/>
<%= link_to request.event, request.event, :target => "_blank" %></div></td>
The button doesn't do anything and I get the error...
foundation.util.triggers.self-d40e6f5….js?b…:16 Uncaught TypeError: el.data(...).split is not a function.