Click here to view more cat photos.
Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
- flea treatment
- thunder
- other cats
submit a tu formulario. Al hacer clic en este botón, los datos de tu formulario se enviarán a la URL que especificaste con el atributo action de tu formulario. Aquí hay un ejemplo de botón de envío: <button type="submit">this button submits the form</button> submit con "Submit" como su texto, como el último elemento de su elemento form.type atributo establecido para submit .
testString: 'assert($("button").attr("type") === "submit", "Your submit button should have the attribute type set to submit.");'
- text: Tu botón de enviar solo debe tener el texto "Submit".
testString: 'assert($("button").text().match(/^\s*submit\s*$/gi), "Your submit button should only have the text "Submit".");'
- text: Asegúrate de que el elemento button tenga una etiqueta de cierre.
testString: 'assert(code.match(/<\/button>/g) && code.match(/Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: