Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax( {
- ...
- error: function(request,status,error) {
- var exp = new RegExp('<title>(.*)</title>','i');
- if (exp.exec(request.responseText)) {
- alert( RegExp.lastParen );
- }
- else {
- alert( status );
- }
- }
- });
Add Comment
Please, Sign In to add comment