Click here to Skip to main content
15,912,977 members

Comments by carono (Top 23 by date)

carono 5-Feb-15 2:03am View    
yes , S.K , good idea! it is the problem i met . if i set the timer . it returns 0 first time , then it returns the right value at second time , so does the third time ,the fourth time and go on .
but also thank you for your mind.
carono 5-Feb-15 1:47am View    
thanks S.K. I have solved the issue. with the suggest by DamithSL . thanks for you again.
carono 4-Feb-15 23:14pm View    
okey . i will try it by using the $.ajax with the success callback.thanks you guys , S.K & DamithSL .
carono 4-Feb-15 23:10pm View    
or add the success callback function such as :
$.ajax({
url:'url',
success:function(data){
rcode=1
}
});
carono 4-Feb-15 23:07pm View    
well, thanks damithsl. i think so . do you have some solutions about this issue? cancel the ajax ? use the Synchronous function instead of asynchronous?