I am trying to display a remote url on a web page, and I can't seem to
get it to work. Is there anyway to show remote content?

This is the example I was working on:

<h2>Our fantastic products</h2>
<div id="products">(fetching product list ...)</div>


<script type="text/javascript">
  new Ajax.Updater('products', 'http://www.espn.com', { method:
'get' });
</script>

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to