Active Topics

 


Reply
Thread Tools
Posts: 107 | Thanked: 4 times | Joined on Apr 2007
#1
ive noticed that ajax does not work using opera. i am hoping that nokia can make an upgrade of some sort?

thoughts?
 
Posts: 1 | Thanked: 1 time | Joined on May 2007 @ Massachusetts
#2
Does not do AJAX in what way? AJAX you are writing or AJAX from other web sites you visit?

I've discovered that Opera on the 770 and 800 requires you to set the 'Referer' header in the request to the current page from which the AJAX request comes.

E.g. using Prototype:

Code:
function DoAjaxStuff() {
    new Ajax.Request('/stuff', { method: 'get',
					      requestHeaders:['Referer', document.location.href],
					      asynchronous: true });
}
(Note that this request itself doesn't do very much.... it's to illustrate the headers.)
 

The Following User Says Thank You to adoyle For This Useful Post:
Posts: 107 | Thanked: 4 times | Joined on Apr 2007
#3
hmm, thanks for the heads up. now im just wondering where i can put that in my rails application.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:54.