-
Book Overview & Buying
-
Table Of Contents
ASP.NET jQuery Cookbook (Second Edition) - Second Edition
By :
This recipe demonstrates how to write event handlers for common mouse events that occur on a web page, such as mouseover and mouseout. The constructs used in this example are summarized as follows:
|
Construct |
Type |
Description |
|---|---|---|
|
|
jQuery selector |
This matches all elements with the specified CSS class. |
|
|
jQuery object |
This refers to the current jQuery object |
|
|
jQuery method |
This returns a string with the value of the required attribute of the first matched element. It can also be used to set the attribute to the required value. |
|
|
jQuery method |
This appends each matched element to the end of the target element. |
|
|
jQuery selector |
This selects all input elements. |
|
|
jQuery event |
This is fired when the mouse pointer leaves a control. It corresponds to the JavaScript |
|
|
jQuery event |
This is fired when the mouse pointer enters a control.... |
Change the font size
Change margin width
Change background colour