Team:Shenzhen/Temp/nav.htm
From 2012.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); | netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); | ||
} | } | ||
+ | |||
+ | var invocation = new XMLHttpRequest(); | ||
+ | var url = 'http://k2s.me/'; | ||
+ | |||
+ | function callOtherDomain(){ | ||
+ | if(invocation) | ||
+ | { | ||
+ | invocation.open('GET', url, true); | ||
+ | invocation.onreadystatechange = handler; | ||
+ | invocation.send(); | ||
+ | } | ||
+ | } | ||
</script> | </script> | ||
Revision as of 16:24, 17 August 2012