I don’t understand the front-end, I encountered a small problem, no error was reported during use
But Adobe Dreamweaver CS6 prompted a syntax error
function sea(e,v) document.getElementById(e).value = v;
天蓬老师2017-06-30 10:00:50
JS functions need to use {}
to enclose the function body, as follows:
function sea(e,v) {document.getElementById(e).value = v;}