[jQuery] Re: accessing dom from different domain ?

2009-06-02 Thread kaspar
This restriction calls Same origin policy http://en.wikipedia.org/wiki/Same_origin_policy On Jun 1, 7:34 pm, waseem sabjee wrote: > $.ajax({ > URL :www.myurl.com > success: function(html) { > var my id = $("#myid", html); > alert(myid); > > }); > }); > O

[jQuery] Re: accessing dom from different domain ?

2009-06-02 Thread kaspar
}); > On Mon, Jun 1, 2009 at 7:51 AM, kaspar wrote: > > > Ricardo , > > thank you for replay > > but I'm getting the same  exception "Permission denied to > > get property" > > >        jq13("#open-oauth-button").click(function(event)

[jQuery] Re: accessing dom from different domain ?

2009-05-31 Thread kaspar
s.parentWindow.jq13(this); >    self.find("div.buttons#deny").click(function(event){ >         alert("lala"); >    }); > > }); > > Not tested, might not work but you get the idea. > > On May 31, 3:38 pm, kaspar wrote: > > > Hello > > I&

[jQuery] accessing dom from different domain ?

2009-05-31 Thread kaspar
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',