<script> var v="Roseindia"; </script> <% String st="<script>document.writeln(v)</script>"; out.println("value="+st); %>
this does not work, i get the same sentence printed it shows me as -> value= Please let me know if there is any other way.
it gets printed as value=
If follow this method means we need to mention variable outside of a function but i have a variable inside function . how to get that variable???