M
Matt
If I assign Java variable a to javascript variable x, it is
fine.
<%
int a = 10;
%>
var x = <%= a %>;
alert(x);
But if I do the other way around, then it has 500 error. any ideas??
<%
int b;
%>
<% b %> = x;
thanks!
fine.
<%
int a = 10;
%>
var x = <%= a %>;
alert(x);
But if I do the other way around, then it has 500 error. any ideas??
<%
int b;
%>
<% b %> = x;
thanks!