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

jquery mobile event multiple binding sample code_jquery

WBOY
WBOYOriginal
2016-05-16 17:22:38870browse

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.
Statement:
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