If you have to find out which federal state a city belongs to, you can use the Google Maps API v3. Here is a straightforward JavaScript code snippet:
Integrating content from a domain B into content at domain A using JavaScript and jQuery is not too easy. Due to the “same domain” policy, all modern browsers prohibit simply calling jQuery’s $.load() function. The problem continues if you want to submit form data to another domain.