diff --git a/webpos/webapp/webpos/images/js/SearchPartiesResults.js b/webpos/webapp/webpos/images/js/SearchPartiesResults.js index 0c99ed55d..042416a5e 100644 --- a/webpos/webapp/webpos/images/js/SearchPartiesResults.js +++ b/webpos/webapp/webpos/images/js/SearchPartiesResults.js @@ -168,13 +168,13 @@ function partySearchAgain() { '&searchByPartyFirstName=' + jQuery('#searchByPartyFirstName').val() + '&searchByPartyIdValue=' + jQuery('#searchByPartyIdValue').val(); - if (jQuery('#billingLoc').attr('checked') == true) { + if (jQuery('#billingLoc').prop('checked') == true) { param = param + '&billingLocation=Y'; } else { param = param + '&billingLocation=N'; } - if (jQuery('#shippingLoc').attr('checked') == true) { + if (jQuery('#shippingLoc').prop('checked') == true) { param = param + '&shippingLocation=Y'; } else { param = param + '&shippingLocation=N';