@@ -77,7 +77,7 @@
<form action="/step_questions/submit" method="post" id="msform">
<div>
- <a id='linker'>影片連結</a>>
+ <a id='linker' display="none">影片連結</a>
</div>
<!-- fieldsets -->
<fieldset>
@@ -87,6 +87,10 @@ var myModal = new bootstrap.Modal(document.getElementById('history'), {
tid = event.srcElement.id
console.log(tid);
linker.setAttribute('href', loaded_data.find(item => item.id == tid).link)
+
+ $("#linker").val(link)
+ $("#linker").show()
$(".title_new").val(loaded_data.find(item => item.id == tid).name)
var step;
for (step = 1; step <= 10; step++) {