Can you please explain what happens in the following scenario:
<input type="submit" name="a" id="b" value="Login" onclick="functionOne();functionTwo();" id="LoginUser_LoginButton">
Is functionOne()
executed first and then followed by functionTwo()
?
In my current situation with an ASP.NET page, I am attempting to add a domain name to the username on a login page before it is submitted:
<input type="submit" name="LoginUser$LoginButton" id="loginSubmit" value="Login" onclick="appendDomain();javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("LoginUser$LoginButton", "", true, "LoginUserValidationGroup", "", false, false))" id="LoginUser_LoginButton">
Currently, I am unable to confirm if appendDomain() is running before the form is submitted. Is there a way to verify this without actually submitting the form? Thank you in advance!