Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

ing on a button not work for me?

button ing
0
Posted

ing on a button not work for me?

0

• Clicking on a RESET button doesn’t do anything, by design – this is a library for web automation, not an interactive browser. Even in an interactive browser, clicking on RESET sends nothing to the server, so there is little point in having .click() do anything special here. • Clicking on a BUTTON TYPE=BUTTON doesn’t do anything either, also by design. This time, the reason is that that BUTTON is only in the HTML standard so that one can attach callbacks to its events. The callbacks are functions in SCRIPT elements (such as Javascript) embedded in the HTML, and their execution may result in information getting sent back to the server. ClientForm, however, knows nothing about these callbacks, so it can’t do anything useful with a click on a BUTTON whose type is BUTTON. • Generally, embedded script may be messing things up in all kinds of ways. See the answer to the next question. • Embedded script is messing up my form filling. What do I do? See the General FAQs page and the next FAQ e

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123