Yes sir, it works like a charm for me. AFAIK
J, XMLHttpRequest won’t allow you to execute _javascript_
located on a different domain. But hell yeah, it’s possible to make
across domain request buddies. Here is the code snippet I used <script type="text/_javascript_" src=""> <script type="text/_javascript_" src=""> <script> changeContent =
function(req) { new
Ajax.Request('http://www.google.com/search?hl=en&q=Doug+ly&btnG=Google+Search',
{onSuccess:function(e)
{
alert(e.responseText);
} ,
onFailure: function(e)
{
debugger;
alert(e.statusText);
},
method : 'get'
}
); } </script> … After the request is done, alert pops up
with the responseText. If you guys want to know more about this
cross domain scripting issue, please visit my blog to view my experience. http://frontier05.blogspot.com/2006/04/remote-scripting-on-googles-blogspot.html --Doug From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hill, Greg I’d love to see your code snippet
that does that ‘cause AFAIK it’s technically impossible in any
browser on the market. Greg From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Ly This is extracted from an
article by Brett McLaughlin about ------------------------------------------------ Welcome to the sandbox ----------------------------------------------- I don’t agree with his point: I can make an Thank you experts. --Doug |
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs