We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

A simple demo of a live code sample



This is a very simple example showing you how to do a live demo in MDN. For more information, see Live samples.

  <label>Try me<input type="text" name="name"></label>
  <input type="submit" value="go">
form {
  border-radius: 10px;
  background: powderblue;
var f = document.querySelector('form');

f.addEventListener('submit', function(ev) {
  document.querySelectorAll('input')[1].value = 'sending';
}, false);




 此页面的贡献者: Howard.Chen
 最后编辑者: Howard.Chen,