Hi,
I have a piece of JSP code that reads the name of 'user selected table' from the session object into a variable called tableName(see below).
String tableName = (String)session.getAttribute("TABLE_NAME");
I want to pass this variable i.e tableName to a JavaScript function called validate() so that depending on which table the users have selected I can perform various validation checks.
Is is possible to do this?
I have a piece of JSP code that reads the name of 'user selected table' from the session object into a variable called tableName(see below).
String tableName = (String)session.getAttribute("TABLE_NAME");
I want to pass this variable i.e tableName to a JavaScript function called validate() so that depending on which table the users have selected I can perform various validation checks.
Is is possible to do this?