标签: javascript html ajax laravel
I append 1 item after finish ajax successfully But can't render varible js only in href tag
答案 0 :(得分:0)
尝试
var editurl = '{{ route("messages.edit", ":id") }}'; editurl = editurl.replace(':id', data.id);
然后
<a href='+editurl+'>