Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/app/ drwxr-xr-x |
Viewing file: Select action/file-type: // Rubicon SGI - sample JS to submit contact info from page to backend.php using #submitbtn and ajax back output to #feedback // send contact msg document.addEventListener('DOMContentLoaded', function(){ $("#submitbtn").click(function(){ $('#feedback').html("Sending your message..."); $.get("./app/backend.php", {send: true, name: $('#field-name').val(), company: $('#field-company').val(), phone: $('#field-phonenumber').val(), email: $('#field-emailaddress').val(), message: $('#field-message').val()}, function(data){ //window.alert(data); $('#feedback').html(data); }); }); }); |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0072 ]-- |