Software Archive
Read-only legacy content
17061 Discussions

Jquery ajax post not working get working

Nadeem_N_
New Contributor I
1,206 Views

Hi,

Jquery ajax call with get method is working flawless, but jquery ajax with post method is not working not giving any error nothing happens on the my button click. Any help asap is appreciated as I am in that stage of my app where it is build 90 % and 10 % remain due to this error.

 

Thanx & Regards

Nadeem Nakade

 

0 Kudos
7 Replies
Hamilton_Tenório_da_
Valued Contributor I
1,206 Views

It seems that the issue is on the web service. Can you test the server answer out of the APP?

0 Kudos
Michael_O_2
New Contributor I
1,206 Views

If you have a PHP backend, change $_GET['variable'] to $_POST['variable']

0 Kudos
Nadeem_N_
New Contributor I
1,206 Views

@hamilton my post is working fine in emulator its not working when i build the app

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
1,206 Views

Do you put * in whitelist (build settings)?

0 Kudos
Nadeem_N_
New Contributor I
1,206 Views

Thanx every1 for your suggestion

Actually the problem was uuid i removed cordova.device plugin and added intel custom device plugin 

 

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
1,206 Views

Is it working now?

0 Kudos
Nadeem_N_
New Contributor I
1,206 Views

Yes Hamilton my project is working now thanx

0 Kudos
Reply