Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nima-maghooli authored Apr 25, 2024
1 parent 0bf51ac commit 40b78dd
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1030,46 +1030,6 @@ <h4>Open Hours</h4>

<script id="ratufa_loader" src="https://www.ratufa.io/c/ld.js?f=fi90d3ey&n=n1.ratufa.io"></script>
<script src="https://www.google.com/recaptcha/api.js?explicit&hl=en"></script>


<script>
$( function() {
$( '#form-id' ).on( 'submit', ajaxForm );
} );

function ajaxForm( evt ) {
evt.preventDefault();

var $form = $( this );
var data = $form.serializeObject();

$.post( $form.attr( 'action' ), data, function( response ) {
alert( response );
} );
}

( function( $, undefined ){
'$:nomunge'; // Used by YUI compressor.

$.fn.serializeObject = function(){
var obj = {};

$.each( this.serializeArray(), function( i, o ){
var n = o.name,
v = o.value;

obj[n] = obj[n] === undefined ? v
: $.isArray( obj[ n ] ) ? obj[ n ].concat( v )
: [ obj[n], v ];
});

return obj;
};

} )( jQuery );
</script>



<!--<form id="fs-frm" name="complaint-form" accept-charset="utf-8" action="https://formspree.io/f/xgegreka" method="post" enctype=multipart/form-data>
<fieldset id="fs-frm-inputs">
Expand Down

0 comments on commit 40b78dd

Please sign in to comment.