On Jun 11, 5:31 pm, Vuong Hung <[email protected]> wrote:
> Colin Law wrote:
> > On 11 June 2010 17:03, Vuong Hung <[email protected]> wrote:
> >> Hi all,
> >> I want to get data from website load with Ajax.
> >> Looking forward soon.
>
> > I think you will give rather more explanation of what you are trying
> > to do, 'get data from website load with ajax' does not mean much to
> > me.
>
> > Colin
>
> Thanks Colin,
> I want to get all data on website (ex: "http://priceonline.hsc.com.vn";)
> but I can get some data because some data to load with Ajax, I can't get
> them.
>
> I have using "hpricot" and "nokogiri" but I only get some data, I can't
> get all to load with Ajax.
>

Lookup "single origin policy": browsers won't usually let you make
ajax requests to other hosts (if you control the other hosts and the
browser supports cross domain ajax it can be done). What are you
trying to achieve?

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to