YaWK
24.1
Yet another WebKit
|
Go to the source code of this file.
Functions | |
document | ready (function(){ $('#submit_post').click(function(){ var msg_to=$('#msg_to').val();var msg_body=$('#msg_body').val();var fromUID=$('#fromUID').val();var token=$('#token').val();msg_body=encodeURIComponent(msg_body);if(!msg_body.trim()) { alert('Die Nachricht ist leer. Bitte Text eingeben!');return false;} $.ajax({ url:'../system/plugins/messages/js/message-new.php', type:'post', data:'msg_to='+msg_to+'&msg_body='+msg_body+'&fromUID='+fromUID+'&token='+token, success:function(data){ if(! data){ alert('Something went wrong!');return false;} else { $(data).hide().prependTo("#comment_thread").fadeIn(820).delay(2600).fadeOut(420);$('#msg_to').val('');$('#msg_body').val('');} } });});}) |
document ready | ( | function(){ $('#submit_post').click(function(){ var msg_to=$('#msg_to').val();var msg_body=$('#msg_body').val();var fromUID=$('#fromUID').val();var token=$('#token').val();msg_body=encodeURIComponent(msg_body);if(!msg_body.trim()) { alert('Die Nachricht ist leer. Bitte Text eingeben!');return false;} $.ajax({ url:'../system/plugins/messages/js/message-new.php', type:'post', data:'msg_to='+msg_to+'&msg_body='+msg_body+'&fromUID='+fromUID+'&token='+token, success:function(data){ if(! data){ alert('Something went wrong!');return false;} else { $(data).hide().prependTo("#comment_thread").fadeIn(820).delay(2600).fadeOut(420);$('#msg_to').val('');$('#msg_body').val('');} } });});} | ) |
References type.