194
rated 0 times
[
197]
[
3]
/ answers: 1 / hits: 17771
/ 11 Years ago, tue, october 8, 2013, 12:00:00
I have below script where im passing scriptlet variable to javascript function. But there is no alert box displaying.. Please let me what im missing here..
<script language=JavaScript>
window.onload = function(){
<%
String res = request.getParameter(Message);
%>
var Value = <%=res%>;
alert(Value);
document.Form.submit();
};
</script>
Thanks in advance
More From » jsp