JS inside the loop, must learn the knowledge points

Source: Internet
Author: User

<DL>                    <DT><aOnClick= "Show (1)"href= "javascript:void (0)">Special topics in Education gold</a></DT>                    <DDID= "Deal1"style= "Display:none">Life insurance is a kind of personal insurance. As with all insurance business, the insured pass on the risk to the insurer, accept the terms of the insurer and pay the premium. Unlike other insurance, life insurance is passed on to the insured's risk of survival or death.<BR>according to the scope of business, life insurance includes survival, death and insurance. According to the guarantee period, life insurance can be divided into term life insurance and life insurance. The sale of the universal insurance, but also a life-long life insurance. According to the definition of the protection of the population, life insurance can be divided into the preferred type of life and non-preferred type of life insurance, according to the insured whether smoking and other factors to define, 2011 domestic life insurance Market was born the first optimal class life insurance-carefully selected. </DD>                </DL>                <DL>                    <DT><aOnClick= "Show (2)"href= "javascript:void (0)">Q: What is the payment method of insurance indemnity, surrender guarantee and insurance money?</a></DT>                    <DDID= "Deal2"style= "Display:none">A: Bank Transfer payment, you only need to provide a bank account at the time of application, you can easily collect insurance premiums, eliminate the risk of cash transactions. The banks that we can transfer payments to are Bank of China, ABC, ICBC, CCB and other major banks.</DD>                </DL>                <DL>                    <DT><aOnClick= "Show (3)"href= "javascript:void (0)">Q: What is the payment method of insurance indemnity, surrender guarantee and insurance money?</a></DT>                    <DDID= "Deal3"style= "Display:none">A: Bank Transfer payment, you only need to provide a bank account at the time of application, you can easily collect insurance premiums, eliminate the risk of cash transactions. The banks that we can transfer payments to are Bank of China, ABC, ICBC, CCB and other major banks.</DD>                </DL>                <DL>                    <DT><aOnClick= "Show (4)"href= "javascript:void (0)">Q: What is the payment method of insurance indemnity, surrender guarantee and insurance money?</a></DT>                    <DDID= "Deal4"style= "Display:none">A: Bank Transfer payment, you only need to provide a bank account at the time of application, you can easily collect insurance premiums, eliminate the risk of cash transactions. The banks that we can transfer payments to are Bank of China, ABC, ICBC, CCB and other major banks.</DD>                </DL>                <DL>                    <DT><aOnClick= "Show (5)"href= "javascript:void (0)">Q: What is the payment method of insurance indemnity, surrender guarantee and insurance money?</a></DT>                    <DDID= "DEAL5"style= "Display:none">A: Bank Transfer payment, you only need to provide a bank account at the time of application, you can easily collect insurance premiums, eliminate the risk of cash transactions. The banks that we can transfer payments to are Bank of China, ABC, ICBC, CCB and other major banks.</DD>                </DL>

The relevant JS code:
<script language= "JavaScript" >varNumber=20;functionJycs () {varCS;  for(i=1;i<=number;i++) {CS= eval (' deal ' +i); Cs.style.display= ' None '; }}functionShow (i) {CS= eval (' deal ' +i); if(Cs.style.display = = ' None ') {Jycs (); Cs.style.display= ' '; }    Else{Cs.style.display= ' None '; }}</script>

A: Bank transfer payment, you only need to provide a bank account at the time of application, you can easily collect insurance premiums, eliminate the risk of cash transactions. The banks that we can transfer payments to are Bank of China, ABC, ICBC, CCB and other major banks.

JS inside the loop, must learn the knowledge points

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.