"; $(".error.zp").remove(); $("#wrapper-response").append(html); }else{ $(".error.zp").remove(); $(".get-rates.btn.button").click(); } } }); $(document).on("click", ".prnt_odr" ,function(){ var d_date = $(".waio__nt--form_wrapper [name='delivery_date']").val(); var pymnt = $(".waio__nt--form_wrapper [name='payment'] option:selected").val(); var s_note = $(".waio__nt--form_wrapper [name='shipping_notes']").val(); var s_addrss = $(".waio__nt--form_wrapper .auto_address option:selected").text(); var f_name = $(".waio__nt--form_wrapper [name='waioaddress[first_name]']").val(); var l_name = $(".waio__nt--form_wrapper [name='waioaddress[last_name]']").val(); var cmpny = $(".waio__nt--form_wrapper [name='waioaddress[company]']").val(); var ad1 = $(".waio__nt--form_wrapper [name='waioaddress[address1]']").val(); var ad2 = $(".waio__nt--form_wrapper [name='waioaddress[address2]']").val(); var city = $(".waio__nt--form_wrapper [name='waioaddress[city]']").val(); var cntry = $(".waio__nt--form_wrapper #AddressCountryNew option:selected").text(); var states = $(".waio__nt--form_wrapper [name='waioaddress[provice]'] option:selected").text(); var z_code = $(".waio__nt--form_wrapper [name='waioaddress[zip]']").val(); var phone = $(".waio__nt--form_wrapper [name='waioaddress[phone]']").val(); var shipping = $(".waio__nt--form_wrapper #shipping-rates-feedback").text(); var pmntanddate = "