Jump to content
bt.ionut

survey

Recommended Posts

$(function(){
$('#downloadFile').click(function(){
$.getJSON('ajax.php?mode=download&function=file&file_session=' + $('[name=file_session]').val(),function(request){
if( request.status=='ok'){
$.colorbox({ html:request.html , onComplete: function(){
$('.progressOfferLink').click(function(){
$('#widgetOffersSee').fadeOut('slow');
$('#progressBar').fadeIn('slow');
});
}});
} else {
$.colorbox({ html:'<div class="user-error">' + request.error + '</div>' });
}
});
});

setInterval(function() {
$.getJSON('file_download.ajax.php?file_session=' + $('[name=file_session]').val(),function(request){
if(request.status == 'filesession1')
location.reload();
});
}, 5000);
});

acesta este un survey din acela enervant, se poate modifica ceva in scriptul de mai sus, ca sa nu mai trebuiasca sa completez oferte ?

merci

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...