How to call services Through javascript?
Posted: Wed Feb 05, 2014 6:36 am
by navya kodali
Hi ,
I want to call two services based on list service data length. if datalength is equals to zero we have to call create service. otherwise have to callupdateservice..
when i check data length it displays length. but how to write javascript to call services.
How to write if condition in list service success event?
My service names are createservice,updateservice.
How to call services Through javascript?
Posted: Wed Feb 05, 2014 7:45 am
by pritu patel
hi Navya,
i think you have to try this code...
service_name.execute({});
for more detail try this link https://getsatisfaction.com/apperyio/...
How to call services Through javascript?
Posted: Wed Feb 05, 2014 8:06 am
by Kateryna Grynko
Hi Navya,
You can also check this link: https://getsatisfaction.com/apperyio/...