How do i get input value to jquery in JSP?
Clash Royale CLAN TAG #URR8PPP How do i get input value to jquery in JSP? I am doing a calendar where users are required to select multiple dates which are checkboxes. As they check each box, the counter will increase. For them to select the values on the next month, they would have to go through a submit button and the counter will be stored in a session in the servlet and it will bring them back to the same JSP page (if they did not select the maximum number of dates) retrieved using session as well. However, my problem is whenever they go onto the next month, the counter will be set back to 0 but the value does show the number of checked boxes previously when I <%System.out.println("class taken="+session.getAttribute("selectedClass")); %> <%System.out.println("class taken="+session.getAttribute("selectedClass")); %> Input value (JSP): No of Classes selected: <b><input type="text" id="count-class" name=...