javascript syntax error
typecho
typecho 2017-06-30 09:58:50
0
2
901

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;

typecho
typecho

Following the voice in heart.

reply all(2)
Peter_Zhu

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?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template