Skip to content

Instantly share code, notes, and snippets.

View bolak's full-sized avatar
🚀

Mehmet bolak

🚀
View GitHub Profile
@bolak
bolak / registrationHandler.js
Created February 15, 2017 18:01
Registration POST request example.
$('.sign-up-form__registration-form').submit(function(e) {
$("#password-error").remove();
var form = this;
var formData = {
firstName: $('input[name=first]', form).val(),
lastName: $('input[name=last]', form).val(),
email: $('input[name=email]', form).val(),
dob: $('select[name=dob]', form).val(),

Keybase proof

I hereby claim:

  • I am seanbolak on github.
  • I am seanbolak (https://keybase.io/seanbolak) on keybase.
  • I have a public key ASBx3_ZU0xVER96rni3h-2Y9XWHhFvw2gAqoOKSmFXOH4Ao

To claim this, I am signing this object:

RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*semalt\.com\ [NC,OR]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*social-buttons\.com\ [NC,OR]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*buttons-for-website\.com\ [NC,OR]
RewriteRule .* – [F]