📜  输入标签数据获取html javascript代码示例

📅  最后修改于: 2022-03-11 15:04:18.328000             🧑  作者: Mango

代码示例1
function myFunction() {
  var firstname = document.getElementById('firstname').value;
  var lastname = document.getElementById('lastname').value;
}