I've been attempting to utilize a JavaScript static variable within inner HTML to create dynamic IDs for HTML elements. Here's an example of my code:
arguments.callee.selectId = 0;
var techDropDown = "<form:select type='catalogOwner' id='selectTech"+arguments.callee.selectId+"'" "path='resources[${status.index}].techName'><form:option value=''>--select--</form:option></form:select>";
arguments.callee.selectId++;
However, when trying to access this code, my JSP page is throwing an error stating Unterminated <form:select tag. Can anyone assist in identifying the issue here? Your help is greatly appreciated. Thank you in advance.