problem retrieve parameter url

problem retrieve parameter url

Hello,

I'm trying to retrieve a URL parameter in a PhoneGap application with jQuery Mobile.

From the link:

<li id='menu_list' ><a  href='index.html#detalle?web='xxx'></a></li>

From the page as I try, how I can get up that parameter?

$('#detalle').live('pageshow', function() {
alert ("pageshow");
            var id = getUrlVars()["web"];
alert(id);
});