Commit b79e5e3a authored by Drew Phillips's avatar Drew Phillips Committed by GitHub
Browse files

Merge pull request #58 from snipershady/patch-1

Update example_form.ajax.php
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -20,7 +20,7 @@ process_si_contact_form(); ...@@ -20,7 +20,7 @@ process_si_contact_form();
<title>Securimage Example Form</title> <title>Securimage Example Form</title>
<style type="text/css"> <style type="text/css">
<!-- <!--
#success_message { border: 1px solid #000; width: 550px; text-align: left; padding: 10px 7px; background: #33ff33; color: #000; font-weight; bold; font-size: 1.2em; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; } #success_message { border: 1px solid #000; width: 550px; text-align: left; padding: 10px 7px; background: #33ff33; color: #000; font-weight: bold; font-size: 1.2em; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; }
fieldset { width: 90%; } fieldset { width: 90%; }
legend { font-size: 24px; } legend { font-size: 24px; }
.note { font-size: 18px; } .note { font-size: 18px; }
...@@ -90,7 +90,7 @@ process_si_contact_form(); ...@@ -90,7 +90,7 @@ process_si_contact_form();
url: '<?php echo htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES) ?>', url: '<?php echo htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES) ?>',
type: 'POST', type: 'POST',
data: jQuery('#contact_form').serialize(), data: jQuery('#contact_form').serialize(),
dataType: 'json', dataType: 'json'
}).done(function(data) { }).done(function(data) {
if (data.error === 0) { if (data.error === 0) {
jQuery('#success_message').show(); jQuery('#success_message').show();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment