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
ao seu formulário. Clicar neste botão enviará os dados do seu formulário para o URL que você especificou com o atributo de action
do seu formulário. Aqui está um exemplo de botão de envio: <button type="submit">this button submits the form</button>
form
com um tipo de submit
e "Enviar" como seu texto. type
atributo definido para submit
.
testString: 'assert($("button").attr("type") === "submit", "Your submit button should have the attribute type
set to submit
.");'
- text: Seu botão de envio só deve ter o texto "Enviar".
testString: 'assert($("button").text().match(/^\s*submit\s*$/gi), "Your submit button should only have the text "Submit".");'
- text: Certifique-se de que seu elemento de button
tenha uma tag de fechamento.
testString: 'assert(code.match(/<\/button>/g) && code.match(/Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: