$.ajax({
type:'GET',
url:apprul,
success:function(request){
var copy = $('.class');
Clipboard(copy);
},
error: function (request, error)
{
alert('Your Login session is expiry please log in and try again');
window.location.href = apprul;
}
});
答案 0 :(得分:0)
$.ajax({
type:'GET',
url:apprul,
async: false,
success:function(request){
var copy = $('.class');
Clipboard(copy);
},
error: function (request, error)
{
alert('Your Login session is expiry please log in and try again');
window.location.href = apprul;
}
});