for the two hosts
http://1.com.local/ http://2.com.local:8080/
how can I use document.domain to enable DOM-Manipulation betwee
document.domain
You cannot. Sorry - same origin is including the ports
You can use CORS and ajax to copy some stuff from one server to the other if you enable this.