Search within TutorialsPark

jQuery Mobile : Filters


Learn how to use jQuery Mobile Filters to filter elements


jQuery Mobile Virtual mouse events addresses the compatibility issues between mobile and desktop browsers.

Mobile browsers support the event touchstart while the desktop browsers support mousemove and mouseover event, hence mobile devices encounter problems in understanding the current event.

jQuery Mobile checks the browser for event support as soon as the page is loaded, and accordingly virtual mouse events are supported.

jQuery Mobile: Virtual Mouse Events

Event Description
vclick Virtual click event handler
vmousecancel Virtual mousecancel event handler
vmousedown Virtualized mousedown event handler
vmousemove Virtualized mousemove event handler
vmouseout Virtualized mouseout event handler
vmouseover Virtualized mouseover event handler
vmouseup Virtualized mouseup event handler

According to the virtual mouse events, other events are supported, Virtual mouse events can be binded to run specific functions, or get data which can be used in other functions.


jQuery Mobile Virtual Mouse Events : vclick

The jQuery Mobile event handler vclick is used to simulate the event handler onclick on handheld mobiles

Example: jQuery Mobile Virtual Mouse Events - vclick

Give it a TRY! » Note: Click Mouse over the Green Box.


jQuery Mobile Virtual Mouse Event : vmouseout

The jQuery Mobile event handler vmouseout is used to simulate the event handler mouseout on handheld mobiles

Syntax: jQuery Mobile Virtual Mouse Event - vmouseout

Give it a TRY! » Note:Move the Mouse over the Green Box and then Moveout


jQuery Mobile: Virtual Mouse Events - vmousedown

The jQuery Mobile event handler vmousedown is used to simulate the event handler mousedown on handheld mobiles

Syntax: jQuery Mobile Virtual Mouse Events - vmousedown

Give it a TRY! » Note: Put mouse down over the green box


jQuery Mobile Virtual Mouse : vmousemove

The jQuery Mobile event handler vmousemove is used to simulate the event handler mousemove on handheld mobiles

Syntax: jQuery Mobile mousemove

Give it a TRY! » Note: Move the mouse over the Green Box


jQuery Mobile: Virtual Mouse - Mouseover

The jQuery Mobile event handler mouseover is used to simulate the event handler mouseover on handheld mobiles

Syntax: jQuery Mobile Virtual Mouse Events - vmousemover

Give it a TRY! » Note: Move the mouse over the green Box