javascript get session value
I would like to display a "Confirm message box " with javascript , eg Confirm ("Sure to Delete (Y/N") , the confirm message should depend on some condition from session bean . For example , if the user select the current lanuage on Login , session bean should keep a value to store the current language , afterward if the user delete a record , the content of the confirm message will depend on the lanugage which the user selected .
Do anyone can help me how to get a value from session in javascript .
Thanks

