我有一个域名说
http://www.domain.com
我有子域
http://support.domain.com
我希望support.domain.com
在 IFRAME 中加载domain.com
var ifr = document.getElementById( yourIframeId );
var ifrDoc = ifr.contentDocument || ifr.contentWindow.document;
var theForm = ifrDoc.getElementById( yourFormId );
此代码正常工作。但事实并非如此。
My question is should my subdomain be domain.com/support
or is there any way I can work with support.domain.com
Please avoid giving answers in jQuery
Thanks