let res = document.getElementById('pjContent1')
res.oninput=function(){
contentValue=res.value
}
在Django admin中的前端文件中插入input框,结果一直取不到input里面输入的值,通过上述方法可以实现取值
let res = document.getElementById('pjContent1')
res.oninput=function(){
contentValue=res.value
}
在Django admin中的前端文件中插入input框,结果一直取不到input里面输入的值,通过上述方法可以实现取值