I need to convert a converter into a Java convertible in Java. I will block users for their e- Asking through the test box from UI popup. If the field is not tap or empty, then the e-mail ID should be sent to a session variable so that it can be accessed anywhere in the project.
This is my code:
function sbtEmail () {var email = document.getElementById ("EmailId"). Values; If (email == tap = email == "") {Warning ("Enter your contact email address to continue ...!"); Document.getElementById ("EmailId") focus () .; } And {& lt;% Session .setAttribute ("quotation email", email);%> Window.location.href = "demo2.jsp"; }} does not work Do I am doing wrong?
You can not set a variable in the session (which lives on the server alone!) Directly from Javascript You have to pass them to any request from your server, and then the server can set it in session.
Comments
Post a Comment