How to pass the JSP defined parameters to the function of JavaScript definitions in JSP?
E.g:
<% String str1, str2;
// Get multiple STR1, STR2 from the database
/ / Call Drawline in this item (STR1, STR2)
%>
Function Drawline (STR1, STR2)
{
// Function content
}
What should I do? ?
Thank you