I have written an insert function with taglibs in jsp in a $ function () which uses this code for calling it in a java script:
<jsp:useBean id="obj" class="insertEdge"/>
${tf:insertEdge(obj, stateid)}
I know that my code of insert methods works right, but I don't know why the var stateid while it has a value in java scrip section it doesn't have value in called method. What is wrong? how can I find the point of error?