[B] hi Ben,
i am using
in my jsp file and it is not causing any problem...
Yes, you're assigning a numeric value to a javascript varible.
In you example code, you've attempted to do the same thing with strings but have't taken the time to quote them properly.
Create a test JSP page that does this and see what happens.
var result=window.confirm("Are you SURE you want to delete"+ <%=user_name%>);
user_name = <%=user_name%>
[ July 17, 2006: Message edited by: Ben Souther ]