I am using jQuery AJAX on my application and latest version of Opera does not display any AJAX what so ever. Works on all other browsers.
In HEAD:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
I have been wrapping m开发者_运维百科y head around this and cannot come up with a solution. I do not get any page errors. Is there someone more intelligent than me that can guide me to a solution?
Here is an example code:
<fb:serverFbml width = "600px">
<script type="text/fbml">
<fb:fbml>
<fb:request-form
action="<?=$conf['dir']['app_url'];?>test.php"
method="POST"
target="_top"
invite="false"
type="NAME"
content="TEST <fb:req-choice url='<?=$conf['dir']['app_url'].'test.php?inviter='.$fbme['id']?>' label='TEST' />"
>
<fb:multi-friend-selector
showborder="false"
cols="4"
actiontext="TEST">
</fb:multi-friend-selector>
</fb:request-form>
</fb:fbml>
</script>
</fb:serverFbml>
Opera is stricter with cross domain javascript communication. A workaround for it is to use a local proxy of the js file.
create a channel file called channel.html with this content:
<script src="http://connect.facebook.net/us_US/all.js"></script>
Put this file into a publicly accessible folder and add it to the channelUrl configuration:
FB.init({ appId: myFBAppId, status: true, cookie: true, xfbml: true, channelUrl: "http://xxx.net/channel.html" });
Does this work in the newly released Opera 11 beta version? We have at least one fix that affects Facebook Connect there (it is however in browser.js so it will only work if http://www.opera.com/docs/browserjs/ shows that browser.js is active and recently updated).
精彩评论