I have a jquerymobile listview like this:
<ul data-role="listview">
<li onclick="accionesDocumento('action li','none')"> <a onclick="accionesDocumento('action a-onclick','none')">Pruebas</a></li>
</ul>
and this jscript function
function accionesDocumento(tclink,tcAccion) {
alert(tclink);
}
My problem is that onclick event never fires. some ideas ?
NOTE: you could see this jsfiddle http://jsfiddle.net/9386M/8/
try this jsfiddle
complete example