I am trying to call two functions on onSubmit but it is calling only the first function.
following is the code:
<form name="reg_indi_form" method="post" onSubmit="return (validate() && req());" enctype="multipart/form-data">
在这种情况下, validate()
必须返回true
以便执行req()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.