Error when selecting country with change event
-
On this page:
https://publicacionespescadores.com/realizar-pedidoI have an onchange event tied to the country dropdown. The following error occurs when selecting the “Estados Unidos” country option only:
Uncaught Error: Syntax error, unrecognized expression: option[value=]
I have found that if I change the ID for the option to “USA” instead of “US” the error disappears. There appears to be some javascript conflict or something. But the referenced onchange function is not running– it is erroring out before that.
Any ideas on what might be causing this? I’m stumped. If not, can you tell me how to change the ID for the country to a different abbreviation, or how to change the ID assigned to the country dropdown on the finalize order page?
- The topic ‘Error when selecting country with change event’ is closed to new replies.