Hi
Inside my index.html.erb
<script type= "text/javascript">
var msg = "Hello World" ;
</script>
i need pass this var msg to my controller say get_variable() method in my Post controller.
Edit : get javascript variable msg in same index.html.erb as ruby variable Thanks in Advance