I have one UserProfile class with FirstName,LastName,Email etc Properties. I want to pass that object from jsp to javascript displayPopup function.
Below is my code
<tr bgcolor="#fafafa" height="30px" style="cursor:pointer;" title="Click to view User Details." onclick="javascript:displayPopup('${userProfile}');">
But when i click on that row it is showing the error on browser console.