I don’t understand the front-end, I encountered a small problem, no error was reported during useBut Adobe Dreamweaver CS6 prompted a syntax error
function sea(e,v) document.getElementById(e).value = v;
Following the voice in heart.
JS functions need to use {} to enclose the function body, as follows:
{}
function sea(e,v) {document.getElementById(e).value = v;}
I guess you are missing the "{}" to wrap the function?
JS functions need to use
{}
to enclose the function body, as follows:I guess you are missing the "{}" to wrap the function?