Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: 'GET',
- url: 'admin.php?import=true',
- success: function (jqxhr) {
- // indexOf() return -1 klau x jumpa substring dlm string
- if(jqxhr.responseText.indexOf('Error :') == -1) {
- location.href = 'admin.php?loading=dismiss?callback=admin.php?upload';
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement