mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Add names to checkboxes
This commit is contained in:
parent
b54f7a21ca
commit
b372db4320
@ -28,12 +28,12 @@ draft: false
|
|||||||
for (const [name,value] of excitationTypes.All) {
|
for (const [name,value] of excitationTypes.All) {
|
||||||
$("<li/>").text(LatexInline[0]+value.LaTeX+LatexInline[1]).appendTo(al)
|
$("<li/>").text(LatexInline[0]+value.LaTeX+LatexInline[1]).appendTo(al)
|
||||||
$('<label />', { 'for': 'cb_'+name, text:LatexInline[0]+value.LaTeX+LatexInline[1]}).appendTo(ef);
|
$('<label />', { 'for': 'cb_'+name, text:LatexInline[0]+value.LaTeX+LatexInline[1]}).appendTo(ef);
|
||||||
$("<input/>",{type:"checkbox",id:"cb_"+name,value:Number(value)}).appendTo(ef)
|
$("<input/>",{type:"checkbox",id:"cb_"+name, name=name, value:Number(value)}).appendTo(ef)
|
||||||
}
|
}
|
||||||
await MathJax.typesetPromise();
|
await MathJax.typesetPromise();
|
||||||
$("<li/>").text("Unsafe").appendTo(al)
|
$("<li/>").text("Unsafe").appendTo(al)
|
||||||
$('<label/>', { 'for': 'cb_unsafe', text:"Unsafe"}).appendTo(ef);
|
$('<label/>', { 'for': 'cb_unsafe', text:"Unsafe"}).appendTo(ef);
|
||||||
$("<input/>",{type:"checkbox",id:"cb_unsafe",value:true})
|
$("<input/>",{type:"checkbox",id:"cb_unsafe",nmae=unsafe,value:true})
|
||||||
delete(al)
|
delete(al)
|
||||||
delete(ef)
|
delete(ef)
|
||||||
window.doiCache = new DOICache()
|
window.doiCache = new DOICache()
|
||||||
|
Loading…
Reference in New Issue
Block a user