I have a html page with a script, It looks like
<html>
</html>
<script>
<script>
The page needs to run this script to display the content correctly.
But when I redirect to this page with following code:
redirect_to user_trips_path(params[:user_id])
I noticed that it will not refresh the page. If I refresh the page manually it will display the content correctly.
My question is how to make this automatic?
I try to google this question.
</script>end tag. If this is the actual code thats running it will create a syntax error when the JS intrepreter runs into<script>.