# Ajax and opera webbrowser, ajax no worky

**URL:** <https://www.ruby-forum.com/t/ajax-and-opera-webbrowser-ajax-no-worky/104404>\
**Category:** Rails\
**Created:** [May 17, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/ajax-and-opera-webbrowser-ajax-no-worky/104404 "2007-05-17T16:40:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mixplate](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Post date:** [May 17, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/ajax-and-opera-webbrowser-ajax-no-worky/104404/1 "2007-05-17T16:40:16Z")

</div>

hi,  
i just recently got a small internet tablet nokia n800 that uses opera.  
however, when browsing to my sites that use ajax, they dont work well. a  
person in another forum posted this bit of code…

function DoAjaxStuff() {  
new Ajax.Request(’/stuff’, { method: ‘get’,  
requestHeaders:[‘Referer’, document.location.href],  
asynchronous: true });  
}

now how can i implement that in my rails code?

thanks
