Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getConfig() {
- var ret = false;
- $.ajax({
- url: "/getConfig.php",
- cache: false,
- success: function(config) {
- if (config === '1') {
- ret = true;
- alert(ret);
- }
- }
- });
- alert(ret);
- return ret;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement