asp. Net JS a simple way to take the value of a motherboard control

  • 2020-06-19 10:07:14
  • OfStack


<script type="text/javascript" language="javascript"> 
       function Check() { 
           var text = parent.document.getElementById('<%=HiddenField1.ClientID %>');  // If there are motherboard pages +pardent.  You don't have to add the normal value      
           if (confirm(" You have been shipping " + text.value + " Taiwan ")) { 
               return true; 
           } 
           else { 
               return false; 
           } 
       }  
   </script>   

Related articles: