azicchetti/jquerymobile-router — Issue #34: changePage problem.
Author: rendom
Created: 2012-03-08 16:25:23+00:00
State: open

Hi im testing out this plugin and i really like it.
But i just notice one problem, i think i have misunderstood something but i hope someone can help me out here :).

I run jQuery.mobile.changePage( "address.html?id="+String(data), { transition: "slide"} );
and its working fine but my handler dosent get trigged.

My router
var router=new $.mobile.Router({
"/address.html(?:[?](.*))?": {handler: "address", events: "s"},
},{
address: function(type, match, ui) { alert("hej"); }
});