Why refresh ajax after result success on mobile browser?
I have face some problem when ajax success then browser automatically refresh but i dont do that and i dont want to reload page after success
my code as follows
$.ajax({
url:'ajax.php?word='+arrString,
cache: false,
type: "GET",
dataType: "json",
success:function(data, textStatus){
if(textStatus=="success")
{
$("#menu-l").load(location.href + " #menu-l>*","");
}
}
});