我正在使用js来更改div的内容,该div包含输入内容,我想在Ajax中使用它们,我已经使用Firefox scratchpad来调试这个函数:var div =input2).appendChild(btn);我得到的是这样的:Exception: document.createElement(...).createAttribute is not a function
现在我想要的是在表下面有一个按钮,当单击它时,我希望它执行一个特定的函数,我已经定义了它,但是当点击它时,Function is not definedCode说 var lng = coordinates.lng;
varaccess_token={token_value}").then(response => response.json()