How to change the value of a variable which is set in jsp (by jstl method) by calling the function from js?
I set the value in jsp by using jstl method for eg:'<'c:set var="name1" value="Add User" /> and out it as '<'c:out value='${name1}' />. I need to change the value of 'name1' as "Edit User" when calling the editUser function which is written in js. Is there any solution?
Please respond