Kill Thunder Dog jquery---Common properties in 18jquery (method)

Source: Internet
Author: User

<!DOCTYPE HTML><HTML>    <Head>        <MetaCharSet= "Utf-8">        <title></title>        <Scriptsrc= "Js/jquery.js"></Script>        <Script>            //Page Loading            $(function(){                //set the event for the button version                $('#btnok'). Click (function() {alert ('Hello World');                }); $('#btnok'). Click (function() {alert ("Hello jquery");            });        }); </Script>    </Head>    <Body>        <inputtype= "button"ID= "Btnok"value= "point Me" />    </Body></HTML>

Common events (methods) in jquery

Blur (FN): Triggers when loss of focus
Change (FN): triggered when the state changes
Click (FN): triggers when clicked
DblClick (FN): triggered when double-clicked
Focus (FN): Triggers when the focus is taken
KeyDown (FN): triggered when the keyboard is pressed
KeyUp (FN): triggered when the keyboard bounces
KeyPress (FN): triggered when the keyboard is pressed
Load (FN): Trigger on page load, same function as Ready method
Unload (FN): triggered when the page is unloaded
MouseDown (FN): triggered when the mouse is pressed
MouseUp (FN): triggered when mouse bounces
MouseMove (FN): triggered when the mouse moves
MouseOver (FN): triggered when mouse hovers
Mouseout (FN): triggered when the mouse leaves
Resize (FN): triggers when resizing
Scroll (FN): Scrolling trigger
Select (FN): triggered when text is selected
Submit (FN): triggered when a form is submitted

Kill Thunder Dog jquery---Common properties in 18jquery (method)

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.