Forum Discussion

Suchith's avatar
7 years ago

How to get Collection value inside javascript.

Hi,  I want to get user collection values inside javascript. for example if i want to get user name and email in will write an html code like below:   <p>${user.login}</p> <p>${user.email}</p> H...
  • VikasB's avatar
    7 years ago

    Suchith

    It would be used as it is in JS also. 

    var loginname = "${user.login}";