Skip to content

Commit

Permalink
added a folder php for storing contact.php, changed the paths in inde…
Browse files Browse the repository at this point in the history
…x.html and contact.js
  • Loading branch information
Salah Talamali committed Nov 24, 2020
1 parent d3ef7c8 commit c6c453a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ <h2>Website Address</h2>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 box-contact-form">

<form id="contact-form" method="post" action="contact.php">
<form id="contact-form" method="post" action="php/contact.php">

<div class="messages"></div> <!--you can change the message in contact.php file -->

Expand Down
2 changes: 1 addition & 1 deletion js/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $(function () {

// if the validator does not prevent form submit
if (!e.isDefaultPrevented()) {
var url = "contact.php";
var url = "../php/contact.php";

// POST values in the background the the script URL
$.ajax({
Expand Down
File renamed without changes.

0 comments on commit c6c453a

Please sign in to comment.