Javascript is not working in Opera - javascript

I know this is an old question but before you dismiss it, just here me out.
I am developing a site and everything (including javascript) works perfect in Firefox 24.0 and Chromium 28.0. I have not tested in IE coz am on an Ubuntu 13.04 machine. I tested in Opera 12.16 and suddenly my javascript doesn't work.
Javascript is checked in opera preferences and all my external jquery and javascript scripts have the type="text/javascript" part. Still no good. I have commented out all my external script files including jquery and then added a
<script type="text/javascript"> alert('JS working'); </script>
in the head. Still no good. Alert working in Firefox and Chrome but not in Opera.
I have checked these questions out, still no good:
javascript not working in OPERA
Javascript does not work in Opera - strange
I don't know what's going on with Opera and its really confusing.
Any help appreciated.
Update:
There are no javascript errors in the dragonfly error console.

Sounds like JS is disabled in Opera. Pless and select Enable Javascript.

Related

jQuery .load fails in IE9, not in Firefox, Chrome or Safari

I've got a Wordpress running on cphdans.dk and are using the plugin Code Embed which let you add JavaScript directly to a post.
The JavaScript I'm embedding is:
<script>
$(function() {
jQuery("#loadTilmelding").load("http://pbs.cphdans.dk/index_dansidk.php#body");
});
</script>
Things work fine in Safari, Chrome and Firefox - but when trying to view the page in Internet Explorer I get nothing loaded.
The developer tools in IE9 doesn't report any errors in this matter.
I've Googled around and found similar issues when the html wasn't validated with w3, but I've done that with the page I'm trying to load into the DOM:
http://pbs.cphdans.dk/index_dansidk.php
When trying to output the loaded content into the log in IE I just get:
LOG: undefined
How can I debug when IE doesn't report any errors, and does anyone know what the issue could be?

I can't get some jQuery to work in Safari

So I have problem in jquery for safari browser. Some of my jquery is perfectly working for GC, FF, IE and Opera but then when I tried to test it in Safari my jquery is not working anymore.
My questions is:
Is there any code that I will just paste or add in my website that will enable all my jquery in safari? Currently I'm re-program my jquery because of safari. Any suggestion beside in codes. Already tried to enable the javascript and jquery in safari browser but still not working.
Make sure you have turned on javascript on the safari. I can't see any other reason for it to not work , it is just a javascript file.

jsPDF to show iframe in ANY IE versions

https://parall.ax/products/jspdf#
http://mrrio.github.io/jsPDF/
Both resources ^ work fine in chrome and firefox, but the iframe generating the preview won't work in any version of IE for me. Anyone have any work-arounds?
The correct way I've found after dealing with both iframe and object/embed attempts, is through http://pdfobject.com/ .
Works in all IE v9+, Chrome, FireFox browsers.

SlideShare Does not Load on Internet Explorer 8

I have made a simple embed of slideshare on my site. However, on Internet Explorer, it keeps saying "Loading" and nothing appears. However, in Firefox its almost instant. Please try here using internet explorer.
Or is it just me? It makes use of Flash and Javascript.
What can the problem be?
Thanks all for any hellp
This page works fine in IE9 at least, and the content you say is broken was written in Flash. You might want to watch your HTTP traffic using Fiddler (www.fiddler2.com) and check for script errors using IE's developer tools (hit F12).
I've check it in Chrome, Firefox, IE6/7/8 and they all seem fine. I haven't checked it in Opera or Safari though.

Javascript does not work in Opera - strange

have a javascript code to exec on a page - all works fine in Firefox, IE, Chrome but does not work in Opera 10+.
Strange is that this javascript works fine in previous versions of Opera (9.xx is fine) and even more strange is that when I lunch Dragonfly on Opera 10+ the javascript works also fine (and Dragonfly does not throw any errors).
Have anyone experienced this behavior and found any solution/workaround?
As the js code is quite complicated, huge and part of it dynamically generated I am not posting any sample of it - my question is just about the behavior and if someone has any experiencies with debuging/resolving.
Thanks,
Jan
It sounds like a bug in Opera's Just In Time (JIT) compilation. I assume that it worked in 10.10 but broke in 10.50 and above. Does it work if you disable this option: opera:config#jit ?
I would very much appreciate a bug report with code - https://bugs.opera.com/wizard/ . If you report the bug number here I can follow up a little bit faster :).
Check this Tools..Preferences..Advanced..Content..Javascript options
Or tools..Quick preferences..ensure "enable Javascript checked"
Or you have overridden these with site preferences or user mode stuff.
I'm typing this in Opera 10.60 with no problems, admittedly not as developer or with Dragonfly running
Try: Tools -> Advanced -> Error Console

Categories