San Bernardino County

Company Overview

  • Founded Date February 28, 2024
  • Posted Jobs 0
  • Viewed 213
  • Categories Behavioral Health

Company Description

Covering 20,105 square miles, San Bernardino County is America’s largest county and a diverse public service organization governed by an elected Board of Supervisors and serving a community of nearly 2.2 million residents. San Bernardino County is comprised of more than 40 departments and agencies staffed by more than 25,000 public service professionals providing a wide range of vital services in areas that include public safety, health and human services, economic development, housing, recreation, and culture.

Our Job

Our job is to create a county in which those who reside and invest can prosper and achieve well-being.

// Initialize Firebase firebase.initializeApp(firebaseConfig); firebase.auth().languageCode = "en"; if (jQuery('#jobsearch_reg_va_fr_otp').length > 0) { window.recaptchaVerifier = new firebase.auth.RecaptchaVerifier('jobsearch_reg_va_fr_otp', { 'size': 'invisible', 'callback': function (response) {}, 'expired-callback': function () {}, 'error-callback': function () {} }); } }); // jQuery('.jobsearch-usereg-otptriger').on('click', function() { var this_btn = jQuery(this); var this_parent_con = this_btn.parents('.jobsearch-sendin-otpcon'); var parent_form = this_btn.parents('form'); var phon_num_field = parent_form.find('input[name="pt_user_phone"]'); var loder_con = this_parent_con.find('.sendin-otp-loder'); var genral_errmsg_con = this_parent_con.find('.sendin-otpcon-errmsg'); genral_errmsg_con.hide(); if (phon_num_field.length > 0) { if (parent_form.find('input[name="dial_code"]').length > 0) { var dial_code_val = parent_form.find('input[name="dial_code"]').val(); var phon_num_val = dial_code_val + phon_num_field.val(); } else { var phon_num_val = phon_num_field.val(); } if (phon_num_val == '') { genral_errmsg_con.html('A valid phone number is required to send OTP.').slideDown(); } else { loder_con.html(''); this_btn.addClass('jobsearch-disable-btn'); var appVerifier = window.recaptchaVerifier; firebase.auth().signInWithPhoneNumber(phon_num_val, appVerifier).then(function (confirmationResult) { //console.log(confirmationResult); window.confirmationResult = confirmationResult; // this_btn.hide(); this_parent_con.find('.jobsearch-fill-otpcon').find('.userfill-otp-msgcon').find('strong').html(phon_num_val); this_parent_con.find('.jobsearch-fill-otpcon').slideDown(); loder_con.html(''); }).catch(function (error) { console.log(error); genral_errmsg_con.html(error.code + ': ' + error.message).slideDown(); loder_con.html(''); this_btn.removeClass('jobsearch-disable-btn'); }); } } else { genral_errmsg_con.html('A valid phone number is required to send OTP.').slideDown(); } }); jQuery('.jobsearch-regotp-checkbtn').on('click', function() { var this_btn = jQuery(this); var this_parent_con = this_btn.parents('.jobsearch-sendin-otpcon'); var genral_errmsg_con = this_parent_con.find('.sendin-otpcon-errmsg'); genral_errmsg_con.hide(); var otp_code = this_parent_con.find('.jobsearch-userfill-otp-field').val(); if (otp_code == '') { genral_errmsg_con.html('Please enter the OTP code first.').slideDown(); } else { jobsearch_phone_otp_check_call(this_btn, confirmationResult, otp_code); } }); function jobsearch_phone_otp_check_call(this_btn, confirmationResult, otp_code) { var this_parent_con = this_btn.parents('.jobsearch-sendin-otpcon'); var genral_errmsg_con = this_parent_con.find('.sendin-otpcon-errmsg'); var loder_con = this_parent_con.find('.cheking-otp-loder'); var parent_form = this_btn.parents('form'); this_btn.addClass('jobsearch-disable-btn'); loder_con.html(''); confirmationResult.confirm(otp_code).then(function (result) { parent_form.find('.regsend-submit-btncon').removeAttr('style'); this_btn.parent('.userfill-otp-btnholdr').hide(); loder_con.html(''); this_parent_con.find('.userfill-otp-msgcon').addClass('alert alert-success'); this_parent_con.find('.userfill-otp-msgcon').find('em').html('You have successfully validated the OTP code. Great job! Now you are authorize to register your account.'); }).catch(function (error) { console.log(error); genral_errmsg_con.html(error.code + ': ' + error.message).slideDown(); loder_con.html(''); this_btn.removeClass('jobsearch-disable-btn'); }); }