SyntaxFix
Write A Post
Hire A Developer
Questions
Below code may help you to achieve session attribution inside java script:
var name = '<%= session.getAttribute("username") %>';