JQuery :: Doesn't Kick In On FF Unless Firebug Is Launched?
Aug 29, 2010
I have a number of javascript files. Some my own and some which I got off the net in my application. First, there's jquery and then a bunch of plugins and finally, my own scripts to bind all the correct elements and get the page ready.
For some strange reason, none of the scripts get loaded when I load the page. However, once I open firebug to try to see what's happening, it works fine.
View 2 Replies
ADVERTISEMENT
Jul 14, 2010
Works fine with ie and firefox. All the script is there to do is open a new window but delayed so that users can see the button unpress.
[Code]....
This is my favourite way of doing things. The problem is that Chrome wont do a window.open launched from a set timeout. (buttons are an image background that shows just half of the image at a time) But its nerfed if i cant get it to work on 0.00005% of the browsers that visits the sites! (ive come to really dislike chrome)
View 6 Replies
View Related
Aug 3, 2011
If visual basic and firebug doesn't show me any error and if code doesn't work on any browser...so what should i do. I did a little boring - to read my code again to find a simple syntax errors like - writte() for exemple.
But even that does not give me anything! Is there any good recomendations how to change it all?
Look at this code:
Browser gives me out only - Please enter a valid name
View 1 Replies
View Related
Apr 27, 2011
I have something like that
<li>My menu item
<ul>
<li>my submenu item</i>
<li>my submenu item</i>
[Code]...
The problem is that when the mouse goes from the main <li> to the children <li> a mouseout event is generated from the main li.
My idea is that if I can detect that the the mouseout is happening at a child of my main <li> then I should be able to stop the handler with an "if" or something.
View 1 Replies
View Related
Jul 13, 2005
I know nothing about js, however, I need it to provide a solution to something at work.
We have a page in our department that launches a movie player once the page has loaded. What I would like is that the player is delayed by a few seconds before it launches.
View 2 Replies
View Related
Aug 9, 2010
know how I can use JavaScript to find the size of my iFrame and feed it to Shadowbox to launch the appropriate sized shadowbox on different browsers and resolutions. For me, the parent page is called 'demo.html' and the iFrame is 'gallery/archive_iframe.html'.
Currently, the shadowbox is launched with a fixed height and width (which you will see in the HTML code below). The problem is that 'gallery/archive_iframe.html' displays differently on every browser and every resolution, causing unwanted horizontal and vertical scroll bars. An example can be seen here: [URL]
Here is the code that I use in 'demo.html' to launch the iFrame:
Head
Code:
<script type="text/javascript" src="/shadowbox/libraries/mediaplayer/jquery.js"></script>
<script type="text/javascript" src="/shadowbox/shadowbox.js"></script>
<script type="text/javascript" src='/shadowbox/libraries/mediaplayer/swfobject.js'></script>
[Code]....
What do I need to do in 'gallery/archive_iframe.html' if anything? My thought is that I need to wrap it in a DIV tag and find the width and height of that. And what do I need to do in 'demo.html'? I'd assume some code is needed to pull the dimensions discovered in my iframe document, and insert those into the link that launches Shadowbox.
View 2 Replies
View Related
Feb 24, 2004
I am trying to write a script that uses the IF statement to see wether or not a user clicked the back button to come to a page, and then if it's true to not let the page load and kick them back X number of pages (say 4) This is what I have so far:
<script language="JavaScript"><!--
if javascript:window.history.back == 1
{
javascript:window.history.back(4);
return false;
}
//--></script>
View 14 Replies
View Related
Apr 22, 2010
I'm rookie when it comes to Ajax and jQuery an..The following url produces an xml-file that I want to use on my page:When I use firebug it seems like nothing comes back. What have I done wrong?
This is what my code looks like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
[code]....
View 1 Replies
View Related
Sep 9, 2010
I founded a error in jQuery, with my code. I can't understand the origin of this error: b is undefined
gb=/,/;R=Array.prototype.slice;var Ia=...=0,e=this.length;f<e;f++){d=b.length;
There is the two files used:
scripts.js
/**
* Lollabot JQuery
* last update: 10/09/2010
[Code].....
View 1 Replies
View Related
May 4, 2011
I can't see the requests of the forms by firebug to debug. Does anyone know if have any option or any way to do this?
View 3 Replies
View Related
Mar 5, 2010
I'm trying to output things to the Console to track errors but everytime I try:
console.log(values);
it says "Console is not Defined"
View 2 Replies
View Related
Aug 25, 2011
I have a basic html page
Code HTML4Strict:
<!DOCTYPE html>
<html lang="en">[code]....
I'm downloading jQuery and specifying it using the src attribute on the scropt tag from http://code.jquery.com/jquery-1.6.2.min.js and i'm getting that error.I've tried downloading jQuery and saving it locally and that works. However if i use the CDN it's giving me that error on firebug.
View 2 Replies
View Related
Sep 11, 2009
I'm coding a simple hover-opacity thing for some images on my site on the navigation bar. Although I'm receiving this message in my Firebug. uncaught exception: Syntax error, unrecognized expression: . Here's the navigation code:
[Code]....
View 6 Replies
View Related
Dec 9, 2009
Can you see an ajax call in Firebug when using $.getJSON? If so, does it return the jsonobject correct? Maybe there are some enters or something in front of the json?
View 4 Replies
View Related
Aug 22, 2011
[url]
The code:
When I go to the site using FF5 or Safari 5, everything pulls up great. When I try to open the page using FF3.6 or IE8 none of the classes show up, I then up Firebug or IE Developer toolbar and refresh and the xml appears without failing.
View 2 Replies
View Related
Oct 2, 2009
I've a technical problem, i use jQuery Form Plugin and it's working well except for upload file. Effectively after uploading file we can't see any response in firebug. (You can see an example in the official website of jquery form plugin [URL] And in the response i call a script with
<script src="script.js" type="text/javascript"></script>
My page get this file well but i have a javascript error on the "$" of
$(document).ready(function() {...
View 2 Replies
View Related
Mar 17, 2010
I am working on an ASP.NET application that make a lot of jquery and javascript calls and trying to optimize the client side code as much as possible. (This web application is only designed to run on special hardware that has very low memory and processing power.)
The profiler in firebug is great for figuring out what calls are taking up the most time. I have already optimized a lot of my selectors and it is much faster.
However the profile shows a lot of jquery error() calls. In the attached image of the firebug profile window you can see it was called 52 times, accounting for 15.4 of the processing time.
Is that normal for jquery to call its error() like that? My code works flawlessy, and there are no error messages in the firefox error console. It seems like that is a significant performance hit. Is there anyway to get more info on what the errors are?
Attachments
jquery_error.JPG
Size : 40.04 KB
Download : 249
View 4 Replies
View Related
Mar 30, 2011
Here's my code:
$( document ).ready( function(){
$('#get_metars').click( function(){
//var icao = $('#icaos').val();
[code]....
View 1 Replies
View Related
Sep 4, 2009
I'm using the jQuery Validate plugin. I have a basic form that asks for someone's name:
[Code]..
View 3 Replies
View Related
Jul 22, 2011
Is there a tool out there--perhaps part of FireBug--that allows me to inspect the results of a jQuery select; e.g., the wrapped set?
View 1 Replies
View Related
May 4, 2011
I trying to make a call to an external domain using $.ajax() and it WORKS, the server receives the call, but the response in firebug errors out in jquery.js line 7760. I've been beating my head at this all day and don't feel like I've made it much further.
I suspect it has something to do with the dataType or type of the request. But I've tried all kinds of things from POST to GET to JSONP in the type. For dataType, I've also tried "html", "text", "xml", "json", and even some combos of "text html" but no success.
[Code]...
View 13 Replies
View Related
Dec 12, 2011
I have a application that uses jquery-1.6.4.jsandjquery-ui-1.8.14.custom.min.js. A call is made by a js file that works if I break on the call and single step using firebug but when run w/o the single step the call to the php in the server never seems to occure. IE doesn't seem to have this problem
View 4 Replies
View Related
Dec 5, 2011
I want to learn how to use firebug, but I can not find tutorials or material. Can someone please let me know, where can I find material for firebug ?
View 2 Replies
View Related
Nov 28, 2007
what do you use firebug for in connection with javascript?
Just want to explore new ways of using it.
Currently I use it to:
1. debug my scripts using console.log(), etc.
2. test small things in the built in 'live' console
View 2 Replies
View Related
Jun 14, 2006
I recently learned about a new Javascript Debugger called FireBug. From what I've heard, it's pretty good. Here's the link: Code:
View 4 Replies
View Related
Nov 28, 2009
I have firebug installed in my firefox browser, but I can't get console.log, console.debug or console.trace to work. My console window remains empty despite all my efforts. For example I have some code which throws up an alert box ( alert ('here is an alert') so I know 100% that it is being executed. If I now place the line
console.log("please log this to the console");next to it, nothing gets written to the console. I also have firephp installed and this is logging to the console for my php code absolutely fine
View 1 Replies
View Related