The difference between a click event for a standard button and an HTML button

Source: Internet
Author: User

1, the difference between a standard button event and an HTML button event:

The standard button event is: OnClientClick

The HTML button event is: OnClick

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/49/3B/wKioL1QRORXgWx3yAACycKK5bOw748.jpg "style=" float: none; "title=" Snap1.png "alt=" Wkiol1qrorxgwx3yaacyckk5bow748.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/49/3A/wKiom1QROQaxgYo_AADA_84ofBk349.jpg "style=" float: none; "title=" Snap2.png "alt=" Wkiom1qroqaxgyo_aada_84ofbk349.jpg "/>

The difference between the above 2 is to remember that the client code is called.

This article comes from "Start again!" "Blog, be sure to keep this provenance http://myjieli.blog.51cto.com/135162/1551103

The difference between a click event for a standard button and an HTML button

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.