skip to Main Content

Html – Why isn't my function being called on submit?

Trying to call validateAndConfirm function on submit of below form but nothing is happening - please help :( HTML Form- <div id='form' class='center text'> <form method='post' onsumbmit='validateAndConfirm'> <label for="firstname">First Name:</label> <input type="text" name="firstname" id="firstname" placeholder='Your first name...' autocomplete='given-name' required> <br>…

VIEW QUESTION

how to execute two asynchronous functions with flutter?

I have two functions in flutter. the first one is belManager.writeCharacteristic and the second one is belManager.disonnect I want to execute belManager.disonnect() after belManager.writeCharacteristic is completed. However for some reason bleManager.disonenct() is called before belManager.writeCharacteristic is completed. this is the…

VIEW QUESTION
Back To Top
Search