Home > Web Front-end > JS Tutorial > jquery mobile event multiple binding sample code_jquery

jquery mobile event multiple binding sample code_jquery

WBOY
Release: 2016-05-16 17:22:38
Original
924 people have browsed it

Newbies, new to js, ​​html, css, jq are constantly having trouble

Copy the code The code is as follows:

$(document).on("pageinit",function(){

$("XXX").bind()

})

This binding method will bind an event of xxx once every pageinit of the entire document. When will the pageinit event be triggered? For details on how to solve it, please see the link
http://rubiks. ph/jquery-mobile-events-firing-multiple-times/
My English is not good, I can only barely understand it.
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template