JSFiddle - React, Tailwind, and code Playground

by yassinezerguine

HTML

<form id="senditplusform" onsubmit="return signin()">
	<label id="senditpluslabel1" >SendIt Plus</label>
	<label id="senditpluslabel2" data-i18n="[html]senditpluslabel2">No account yet? see what <a href="#" onclick="window.open('http://sample-env.py4kpfcsxt.eu-central-1.elasticbeanstalk.com/app/plus','_blank')" id="plus">Plus</a> has to offer.</label>
	<input type="email" id="senditplusinput1" placeholder="  Email" data-i18n="[placeholder]senditplusinput1" required="required" >
	<input type="password" id="senditplusinput2" placeholder="  Password" data-i18n="[placeholder]senditplusinput2" required="required">
	<a href="#" onclick="window.open('http://sample-env.py4kpfcsxt.eu-central-1.elasticbeanstalk.com/app/plus/forgotpassword','_blank')" id="senditplushref" data-i18n="senditplushref">Forgot your password?</a>
	<span id='message3'></span>
	<input type="checkbox" id="senditpluscheckbox" autofocus> <label id="senditplusremember" data-i18n="senditplusremember">Remember Me</label>
	<input type="submit" value="Sign In" id="senditplusbutton"  data-i18n="[value]senditplusbutton">
	</form>

JavaScript

function signin(){
	var email = $('#senditplusinput1').val();
	var password = $('#senditplusinput2').val();
  var uri ="/app/plus/email_exist/"+email;
alert(uri);
	var rememberme =0;
		if ($("#senditpluscheckbox").is(":checked")){
			rememberme =1;
		}
	
	
	return false;
  }