This is string in jquery which is latter embedded inside laravel blade file . But this doesnot seems to be way to do it .
this is inside tag
var addvar = 'uploads/'+data.data[key].indexer+'.'+data.data[key].thumb;
user_status += '<img style="height: 290px;" alt="360-video-feature" src="
{{asset(addvar)}}" alt="" />';
It throws error :
Use of undefined constant addvar - assumed 'addvar' .