Skip to content
Advertisement

Cant seem to get the first dependency to run on AJAX call

I am having significant issues trying to get the AJAX to fire on this PHP code.

I can get the first field populated without issue, however the AJAX call does not seem to populate the first dependency (and therefore the second). I am an AJAX newbie (and have googled extensively) but cannot seem to crack this one.

Note that the ladb.php file runs fine.

JavaScript

The action.php file below

JavaScript

Any help greatly appreciated!

Advertisement

Answer

Thanks to @zergski I note that one of references were defined (countryid in Line 53). DevTools is my new best friend.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement