Home > Web Front-end > JS Tutorial > JS judgment cannot be empty example code_javascript skills

JS judgment cannot be empty example code_javascript skills

WBOY
Release: 2016-05-16 17:12:32
Original
841 people have browsed it
Copy code The code is as follows:




  
                                                                                                              {
                                                                                                                                                                return FALSE; } else if (document.form.email.value == "") {
Alert ("Content cannot be empty!")
                this.form1.eamil.focus();
                return false;
            }else form1.submit(); 
}
       
   

   
       

           
               


                   


                       
                   
               

               

                       
                           
                           
                       
                       
                           
                           
                       

                       
               
                       
               
           
发送短信
号   码:
内   容:

                          
                   
               

       

   

Related labels:
js
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template