Arsalan Sarwer
Posts: 0
Joined: Tue Oct 30, 2012 3:31 pm

How to handle service respose in JS

I am working on simple user validation by email and password, for this I use REST service.

On its "success" event, I user custom javascript, and make simple alert, just for the confirmation, but nothing happens;

function(data){

alert("abc");
}

After that I modified the success event as "navigate to page", but still current page remains,

also progess bar shows when services runs, but after that nothing happens.

Thankyou

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to handle service respose in JS

Maybe there is some problem with your REST service and because of it JS doesn't work on Success event. Please test your REST service.

Arsalan Sarwer
Posts: 0
Joined: Tue Oct 30, 2012 3:31 pm

How to handle service respose in JS

Everything which have some problem on computer, runs very well on mobile.

I have no issue on mobile, my app runs perfect.

But on computer it shows nothing and no response.

The REST service and all other data mappings are well defined.

I also test it on firefox, chrome, safari and IE (all browsers latest versions).

I dont know, what's wrong with me, can you please explain ?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to handle service respose in JS

Could you post your App link? Please go to Test, make the link public and send us http://help.gotiggr.com/documentation...

Arsalan Sarwer
Posts: 0
Joined: Tue Oct 30, 2012 3:31 pm

How to handle service respose in JS

Here is the link;

http://project.tiggzi.com/mobile-fram...

The app is working only in mobile.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to handle service respose in JS

Could you post username/password or send it to support@tiggzi.com so we can test your App? What device with what version do you use to test?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to handle service respose in JS

Please try error event, maybe the service is failing and thus success is never called.

Agon Bina
Posts: 0
Joined: Thu Oct 04, 2012 5:01 am

How to handle service respose in JS

check the cache on your browser too, it might be because of that

Return to “Issues”