$(function(){
$('.list_content_new>ul>li>a').on('click',function(){
$.ajaxSettings.async = false; $.post('/so/geturl.php',{keyboard:$(this).attr('jm-data')},function(data){
$('body').append('<form target="_blank" method="POST" id="windowOpen"></form>');
$('#windowOpen').attr('action',data).submit().remove();
},'html');
$.ajaxSettings.async = true;
return false;
});
});
|