質問編集履歴
2
bladeとjsが別ファイルであると分かるように記載を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,6 +34,8 @@
|
|
34
34
|
|
35
35
|
```jQuery
|
36
36
|
|
37
|
+
//foo.js
|
38
|
+
|
37
39
|
html = "{{ Form::select('name', " + data + ", null, ['class' => 'class', 'multiple' => 'multiple']) }}";
|
38
40
|
|
39
41
|
$('#selector').append(html);
|
@@ -41,6 +43,8 @@
|
|
41
43
|
```
|
42
44
|
|
43
45
|
```View
|
46
|
+
|
47
|
+
//hoge.blade
|
44
48
|
|
45
49
|
"{{ Form::select('name', [object Object], null, ['class' => 'class', 'multiple' => 'multiple']) }}"
|
46
50
|
|
1
タイポがあったため修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
```View
|
44
44
|
|
45
|
-
"{{ Form::select('name', [object Object], null, ['class' => 'class'
|
45
|
+
"{{ Form::select('name', [object Object], null, ['class' => 'class', 'multiple' => 'multiple']) }}"
|
46
46
|
|
47
47
|
```
|
48
48
|
|