Here is a working example of my code on jsFiddle http://jsfiddle.net/ezanker/8z5Rz/6/
The problem is that when I test the script localy on firefox or chrome the script stops (tested with alerts) on:
content.collapsible();
and
$('#set').collapsibleset();
does anyone have an idea why this happens?
Thanks.
Related
Created a bookmarklet that opens up a menu on any website. However it does not work in Chrome and Firexfox. Only works in Safari. Anyone have any ideas on how I can fix this?
Here is what the bookmarklet link looks like. I would have posted the rest of the .js code but it was to long for this form. Please help.
Run Bookmarklet
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.
Im doing this webpage http://www.xarcuterialamuntanya.com/
it works perfectly in FF and chrome but in IE fails. If you press F12 in IE and go network tab (reload then the webpage) you can see that CSS and JavaScript files are not loaded correctly. It apears 404 error.
Can anybody tell me whats wrong please???
Thank you in advance!
I just use window.history.go(-1) to return previous page in firefox, it won't work if the script in a iframe, it works fine in ie , opera and chrome. can somebody tell me why?
I did tried
window.history.go(-1)
in Firefox 3.6.8 and it did worked for the iframe ... try creating a simple html page to test if it's working for youur version of FF (I'm quite sure it will work), so maybe the problem is somewhere else
I have a problem using $.getScript() on chrome. It doesn't work on chrome browser. I've tested it on firefox, ie and safari and it worked. All I have on my external script is an alert() and it doesn't work.
Here's the code:
page
$(document).ready(function(){
$("#btnGet").click(function(){
$.getScript("script.js");
});
});
script.js
alert('Get script loading');
Is anyone have experienced this problem?
Thanks guys for making it clear to me.
I think I would have my script inline instead since the inline code will work fine on all browsers.