Sunday, May 31, 2009

[jQuery] accessing dom from different domain ?

Hello
I'm trying to make Twitter OAuth and getting "Permission denied to
get property"

here is the code

jq13("#open-oauth-button").click(function(event){
TwitterService.getAuthUrl(function(url){
var myRef = window.open(url,'mywin',
'left=20,top=20,width=1000,height=400,toolbar=0,resizable=0');

jq13(myRef.document).ready(function(){

myRef.jq13("div.buttons#deny").click(function(event){
alert("lala");
});

});
});
});

is it possible to create event listeners on dom from different
domain ?

No comments: