     ($ '#checkout_form_address').validate()
 
     getCountryId = (region) ->
-      $('p#' + region + 'country select').val()
+      $('#' + region + 'country select').val()
 
     updateState = (region) ->
       countryId = getCountryId(region)

        stateInput.removeClass('hidden')
        stateSelect.removeClass('required')

    ($ 'p#bcountry select').change ->
      updateState 'b'

    ($ 'p#scountry select').change ->
      updateState 's'

    updateState 'b'

      statesRequired = data.states_required
      states = data.states

      statePara = ($ '#' + region + 'state')
      stateSelect = statePara.find('select')
      stateInput = statePara.find('input')
      stateSpanRequired = statePara.find('state-required')
