Sortable mobile inner Click
by ben74
HTML
<script src="http://x24.fr/js.js?jq,jqui2,jqpunch"></script>
<div id='sortable'>
<li><a class='innerA' href='#' title='1'>1- Some click event</a></li>
<li><a class='innerA' herf='#' title='2'>2- Some click event</a></li>
<li><a class='innerA' herf='#' title='3'>3- Some click event</a></li>
<li><a class='innerA' herf='#' title='4'>4- Some click event</a></li>
</div>
JavaScript
$("#sortable").sortable({
placeholder: 'highlight',
update: function (event, ui) {
}
});
$('.innerA').bind('click', function(){$(this).focus();});
$("#sortable").disableSelection();
$('.innerA').on('click',function(e){console.log('click',this,e);alert(this.title);});