Response title
This is preview!




Again, it's acting exactly as it should. You're registering it on pageshow, so you will register it every time the page is shown. If you show the page twice, now it's registered twice, because you will have received two pageshow events.Btw, I tried one() because I thought maybe my on() was registering the event twice
if ( results ) {
results
// only unenhanced elements
.filter(function() { return $(this).jqmData("bound") !== true;}
// lock while in DOM
.jqmData("bound", true)
// my problematic inputs
.find('input.singleLoader')
// get the parent JQM ui-btn...
.closest('.ui-btn')
// bind to this, because this is what the user touches...
.on('vclick', function(){
// do stuff
});
}
Guess... it worked... JQM sets my inputs to ui-btn-hidden, so maybe trying to bind a click or touch handler to an element like this is not the best idea... © 2012 jQuery Foundation
Sponsored by
and others.
