mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 05:03:53 +01:00
Clear table when we change file nameee
This commit is contained in:
parent
5746cec86a
commit
7772acc730
@ -66,7 +66,8 @@ draft: false
|
||||
}
|
||||
div.appendChild(node);
|
||||
});
|
||||
var t=document.getElementById("ex_table")
|
||||
var tb=document.getElementById("ex_table_b");
|
||||
tb.innerHTML=''
|
||||
dat.excitations.forEach(el=> {
|
||||
var row=document.createElement("tr")
|
||||
var rowd=[]
|
||||
@ -78,7 +79,7 @@ draft: false
|
||||
td.innerText=d
|
||||
row.appendChild(td)
|
||||
})
|
||||
t.appendChild(row)
|
||||
tb.appendChild(row)
|
||||
});
|
||||
await MathJax.typesetPromise();
|
||||
document.getElementById("ex_div").hidden=false
|
||||
@ -113,14 +114,17 @@ draft: false
|
||||
<div id="ex_div" hidden=true>
|
||||
<h2>exitation</h2>
|
||||
<table id="ex_table">
|
||||
<tr>
|
||||
<thead>
|
||||
<th>Transition</th>
|
||||
<th>\(E_{abs}\)</th>
|
||||
<th>\(E_{fluo}\)</th>
|
||||
<th>\(\Delta E_{ZPE}\)</th>
|
||||
<th>\(E_{adia}\)</th>
|
||||
<th>\(E_{00}\)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ex_table_b">
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user