יום ראשון   |   6 אוקטובר    |   
דף הבית / preview

preview

    Centered Form





    #function submitForm(form) { # const formData = new FormData(form); #const request = new XMLHttpRequest(); #request.onreadystatechange = function () { # if (request.readyState === 4 && request.status === 200) { # console.log('Form submitted successfully:', form.id); #} else if (request.readyState === 4) { # console.error('Error submitting form:', form.id); #} #}; #request.open(form.method, form.action, true); #request.send(formData); #}

      דילוג לתוכן