$(document).ready(function(){ $('#countriesList').change(function(){ var thisval = $.trim( $(this).val() ); country_id = $.trim( thisval.split("|")[0] ); country_abbreviation = $.trim( thisval.split("|")[1] ); $('input[name="Country"]').val(country_abbreviation); $.ajax({ url: 'ajax/statesList.cfm', data: 'country_id=' + country_id, type: 'POST', success: function(response){ $('select[name="State"]').find('option').remove(); $('select[name="State"]').append(response); } }); }); $('#scountriesList').change(function(){ var thisval = $.trim( $(this).val() ); country_id = $.trim( thisval.split("|")[0] ); country_abbreviation = $.trim( thisval.split("|")[1] ); $('input[name="sCountry"]').val(country_abbreviation); $.ajax({ url: 'ajax/statesList.cfm', data: 'country_id=' + country_id + '&addEmptyValue=1', type: 'POST', success: function(response){ $('select[name="sState"]').find('option').remove(); $('select[name="sState"]').append(response); } }); }); $('#checkout').click(function(e){ e.preventDefault(); var msg = ''; var patternMail = new RegExp("^([a-zA-Z0-9_\.\-])+\@([a-zA-Z0-9_\.\-])+[\.]([a-zA-Z0-9]{2,4})$"); var intro = 'Please review the following:\n\n'; var First_Name = $.trim( $('#First_Name').val() ); var Last_Name = $.trim( $('#Last_Name').val() ); var Email = $.trim( $('#Email').val() ); EmailLCase = Email.toLowerCase(); var EmailCheck = $.trim( $('#EmailCheck').val() ); EmailCheckLCase = EmailCheck.toLowerCase(); var Password = $.trim( $('#Password').val() ); var PasswordCheck = $.trim( $('#PasswordCheck').val() ); var Address = $.trim( $('#Address').val() ); var City = $.trim( $('#City').val() ); var State = $.trim( $('select[name="State"]').val() ); var Zip = $.trim( $('#Zip').val() ); //Start check if( First_Name.length == 0 ){ msg = msg + '-' + $.trim( $('#first_name_required').val() ) + '\n'; } if( Last_Name.length == 0 ){ msg = msg + '-' + $.trim( $('#last_name_required').val() ) + '\n'; } if( Email.length == 0 ){ msg = msg + '-' + $.trim( $('#email_required').val() ) + '\n'; } if( EmailCheck.length == 0 ){ msg = msg + '-' + $.trim( $('#emailcheck_required').val() ) + '\n'; } if( Password.length == 0 ){ msg = msg + '-' + $.trim( $('#password_required').val() ) + '\n'; } if( PasswordCheck.length == 0 ){ msg = msg + '-' + $.trim( $('#passwordcheck_required').val() ) + '\n'; } if( Address.length == 0 ){ msg = msg + '-' + $.trim( $('#address_required').val() ) + '\n'; } if( City.length == 0 ){ msg = msg + '-' + $.trim( $('#city_required').val() ) + '\n'; } if( State.length == 0 ){ msg = msg + '-' + $.trim( $('#state_required').val() ) + '\n'; } if( Zip.length == 0 ){ msg = msg + '-' + $.trim( $('#zip_required').val() ) + '\n'; } if( msg.length > 0 ){ msg = intro + msg; alert( msg ); } else{ if( !patternMail.test(Email) ){ msg = msg + '-Please enter a valid Email.\n'; } if( msg.length > 0 ){ msg = intro + msg; alert( msg ); } else{ if( EmailLCase != EmailCheckLCase ){ msg = msg + '-The 2 Emails must match.\n'; } if( Password != PasswordCheck ){ msg = msg + '-The 2 Passwords must match.\n'; } if( msg.length > 0 ){ msg = intro + msg; alert( msg ); } else{ $('#frm').submit(); } } } }); $('#countriesListCC').change(function(){ var thisval = $.trim( $(this).val() ); country_id = $.trim( thisval.split("|")[0] ); country_abbreviation = $.trim( thisval.split("|")[1] ); $('input[name="cust_ccCountry"]').val(country_abbreviation); $.ajax({ url: 'ajax/statesList.cfm', data: 'country_id=' + country_id, type: 'POST', success: function(response){ $('select[name="cust_ccState"]').find('option').remove(); $('select[name="cust_ccState"]').append(response); } }); }); $('#countriesShippingList').change(function(){ var thisval = $.trim( $(this).val() ); country_id = $.trim( thisval.split("|")[0] ); country_abbreviation = $.trim( thisval.split("|")[1] ); $('input[name="sCountry"]').val(country_abbreviation); $.ajax({ url: 'ajax/statesList.cfm', data: 'country_id=' + country_id + '&addEmptyValue=1' + '&valueEmptyValue=' + '&textEmptyValue=', type: 'POST', success: function(response){ $('select[name="sState"]').find('option').remove(); $('select[name="sState"]').append(response); } }); }); });
 

BMBC




Faith for Change Vol1 ($40.00)

If you have ever needed a breakthrough, if you have ever desired a change in your life, Faith For Change Today is the message for you.

In volume one of this life changing series, Bishop Smith teaches you how to understand who God created and called you to be, how to love yourself, and how to receive God's love for you!

This is a yoke-destroying message that will empower you with faith to change today.

>

 
 
 
PrayerInvite