Check this answer
http://stackoverflow.com/questions/18074771/laravel-4-blade-syntax-within-my-javascript-files
In your situation, just do not use blade inside .js file. Write the <Form>...</Form> in pure html
Just be sure to check the answer below the accepted one. Renaming .js file to .blade.php is confusing
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community