ming %!s(int64=3) %!d(string=hai) anos
pai
achega
1a52e4d113
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      index2.html

+ 1 - 1
index2.html

@@ -132,7 +132,7 @@
       var title = document.getElementById("title")
       tid = event.srcElement.id
       console.log(tid);
-      title.innerHTML = loaded_data.find(item => item.id == tid).name
+      $(".title_new").val(loaded_data.find(item => item.id == tid).name)
       var step;
       for (step = 1; step <= 10; step++) {
         $(".txtsrc"+step).val(loaded_data.find(item => item.id == tid).text_content[step-1])