I am writing a script that loads various content based on previously clicked links. (For Android application). I'm having data transfer issues for my callback function.
function load_current_div(id, refer){
$('#current-div').hide(function(){
$('#current-div').html('');
$('#current-div').load('content/'+id+'.html', function(){
alert(id);
});
});
$('#current-div').show();
}
I cannot force the identifier to contain a value on warning.
source
share