| <form id="apply-form" action="job_apply.php" method="POST" enctype="multipart/form-data"> | <form id="apply-form" action="job_apply.php" method="POST" enctype="multipart/form-data"> | ||||
| <select class ="" name="position" id="positions"> | <select class ="" name="position" id="positions"> | ||||
| <option class =" apply-option" value="Data engineer">.NET Developer</option> | |||||
| <option class =" apply-option" value="Php software developer">UI/UX Designer</option> | |||||
| <option class =" apply-option" value=".NET Developer">.NET Developer</option> | |||||
| <option class =" apply-option" value="UI/UX Designer">UI/UX Designer</option> | |||||
| </select> | </select> | ||||
| <input class ="apply-field" type="text" name="full-name" placeholder="Full Name" required> | <input class ="apply-field" type="text" name="full-name" placeholder="Full Name" required> |
| return new Promise(function(resolve, reject) { | return new Promise(function(resolve, reject) { | ||||
| if (response) { | if (response) { | ||||
| jQuery("#apply-form").submit(); | jQuery("#apply-form").submit(); | ||||
| $('#apply-submit').removeAttr('disabled'); | |||||
| } | } | ||||
| }); | }); | ||||
| }; | }; | ||||
| var onloadCallback = function () { | var onloadCallback = function () { | ||||
| $('#apply-submit').removeAttr('disabled'); | |||||
| if (jQuery('#googlecapatcha_apply').length) { | if (jQuery('#googlecapatcha_apply').length) { | ||||
| recaptcha = grecaptcha.render('googlecapatcha_apply', { | recaptcha = grecaptcha.render('googlecapatcha_apply', { | ||||
| 'sitekey': "6Lc3Bt8ZAAAAACPv1F98oFvwPOYVyvWvmN1HYkrS", | 'sitekey': "6Lc3Bt8ZAAAAACPv1F98oFvwPOYVyvWvmN1HYkrS", |