...
<%
ArrayList<String[]> list = new ArrayList<String[]>();
int i = 0;
while (result.next()){...
%>
...
<input type="button" value="drehen"
onclick="tauscheBild(**list, i**);">
</div>
...
I am trying to use my Java variables when calling the onclick function. How do I do it?
Thanks alot!