undefined is null or not an object in jQuery Core IE only
IE (8 & compatibility mode) reports an 'undefined' is null or not an object error on line 30, char 144 of jQ 1.4.2.min.js when the following code is included in my page under a document.ready statement: $(document).ready(function() { $('#splashimg').load(function(){$('#splashtext').delay(4000).each(toggletext())}); $('#splashimg').attr('src', 'i/august2010splash.jpg'); ... where #splashimg is: <img src="/i/s.gif" name="splashimg" width="850"
google gadget
i'm having problems with jquery and google gadget. this is the url http://www.qualitydesign.ro/test/jquery/new/ in the first tab the gadget is shown but in the second and the third button is not shown. only in opera (windows and linux) it's ok but the problem shows in firefox (windows and linux) and internet explorer 8 the jquery source is http://www.stilbuero.de/jquery/tabs/jquery.tabs.zip
SSL, IE < 8, remove, and background-image
If you're using SSL, and version of IE < 8 (includes IE 8 in compatibility mode) and you try to remove anything with a background image you get an SSL warning. This is a bug in IE that causes this warning for doing a number of different things, all other ways I've ran into are pretty trivial to work around. This particular one is more difficult since remove() is called in jquery all over the place internally. A straight javascript workaround is to do: this.outerHTML = ""; instead of: this.parentNode.removeChild(this);
.load() not working in Firefox & IE
I am having trouble loading external files in Firefox & IE [chrome & safari works fine] using .load() function in the a tag. ul start <li><a href="javascript:$('#content').load('txt/docs/open-src.html');">Open-Source</a></li> <li><a href="javascript:$('#content').load('txt/docs/pay-ware.html');">Pay-ware</a></li> ul end If u want to see the whole site it is @ thomas.cz.cc The a tag seems to be the only one having the problem, i am using the onload event of the body to preload my home
$("head script[src='SOMENAME.js']") doesn't return anything
Someone knows why $("head script[src='SOMENAME.js']") doesn't return anything? jquery 1.4.2
Firefox and (no-attached-Form).submit()
Hi! I found a bug I do not know if it's a mismatch of Firefox or jQuery. Well, is as follows: When you create a <form> via jQuery and uses the method .submit(), nothing happens. To do work, you must attach to the document before. In other browsers everything occurs as expected. One way to work, would by to use the method. Submit () in Firefox and attach (temporarily) the form and run the document, if not attached. var form = $('<form action="" method="post">'); var hidden = $('<input type="hidden"
swapping divs with .after()
Hey guys, I want to swap two <div>s and decided to use the .after() method to swap them. My problem is, that the first div contains javascript, what cause an error. When I use two different divs with only html it works easily, but not with the script-contained-div. I'm sorry for my bad English, I think I can't explain my problem very good, so I attached 2 images which could explain my problem a bit furhter. Also here is a link to a testsite I set up, where you can find the source I used. -> Testsite
Position plugin: result is off-centered in webkit (after zooming-in or out)
The position plugin can yield wacky results in webkit, if zoom-in or zoom-out is used. To reproduce, go to the Position demo page http://jqueryui.com/demos/position/ with a recent version of Google Chrome or Safari. Zoom-in a couple of times with View > Zoom-in, start moving around the parent element to see the positioned elements, it will be pretty obvious that they are off centered Has anyone encountered this?...been banging my head on this one...needless to to say workaround suggestions are appreciated!
.click() and .submit() functions do not work on HTML Elements inserted after page has loaded
Hi, I have a page that inserts a div after another div on my page. Basically this div and its content are generated by the server and outputted via Ajax when the user clicks a button. I have something like: //Listener function $("div").click( function () { alert("thing"); });Clicking any of the divs that were loaded on the page will give this alert however, clicking on this div that was inserted after the user clicks a button does not respond to this listener. I put my rendered html into the w3c
Dialog, current position
Hello I got this little problem. I cant get the current position of a dialog after I move it. Seems like it wont update it. It just gives the first one. Another problem I came up with was that the dragStop event wont work either..
Problem with IE7 when added callback function to plugin...
I added to one pluggin callback function and it stoped working on IE7 but working on Mozilla can anyone check it out http://www.lifestyletelevision.tv/customScroller.1.2/2/examples/ajax-menu-example.php Callback name onContentLoaded... Anyone can solve this problem on IE7?
Need help debugging Cycle-Plugin for IE
Hi! I'm developing a website for a friend. It's almost done, but there is still an issue concerning the IE 7 and 8. There is a slide show on the start page, done with jQuery and opCycle-plugin, that works great on FF 3.6, Safari 4 and Opera 10.60. But IE 7 and 8 won't display anything. I've enabled the debugger, but it doesn't give me any error message - it just keeps displaying nothing at all. Can anyone please help me finding the error? The URL is http://www.smartstone.info/ Greetings craesh
Microsoft JScript runtime error: Object doesn't support this property or method
hi when i want use Ui in my Project this error happen : Microsoft JScript runtime error: Object doesn't support this property or method i just copy and past sample code in my project. in my project i had a Default page, and some user Controls. i want add ui in user control, and i add js file in default.aspx, but this error happen
Help with cross-browser issue
Let me start by saying this script works in Chrome, but not FF or IE. In FF/IE, the form will submit but the data will not post. Here's the javascript: <script type="text/javascript"> $(document).ready(function(){ $("form#tweet_form").submit(function() { var tweet = $('#tweet').attr('value'); $.ajax({ type: "POST", url: "sidebar_right_tweet.php", clearForm: true, data: "tweet="+ tweet, success: function(){ $(function(){ $('div.success').fadeIn(); $('div.success').delay(2000).fadeOut('slow'); });
jQuery 1.4.2 - Potential IE8 bug setting action attribute on form
I'm trying to set the action on the submit event handler in IE8, and get the error "Object doesn't support this property or method" This doesn't happen in Firefox or Safari. The Form: <form name="product" id="product" action="http://example.com"> <!-- snip form --> </form> The jQuery code with the error in IE8: $('#product').change(function () { changes = true; }).submit(function() { this.action = 'http://example2.com'; }); Also tried this with the same error: $('#product').change(function
Setting maxlength in Firefox & Opera
Hi guys, Setting maxlength attribute of input[type=text] or input[type=password] does not work as expected. In Firefox and Opera if maxlength is not set the field.attr('maxlength') == -1. But if I try to set field.attr('maxlength', -1) it is being set to 0 instead. Please find attached example. What is the best way to proceed with it? UPDATE: Attaching files does not work for me so here is the link to it http://gist.github.com/476690 Michal
Problem with datePicker shortcuts
Hi, This is a weird bug and will require some testing of you to find out what is really happening. I created a datepicker that shows on keydown (arrow down) If a date is allready set when you enter the date field and you click arrow down (or open the datepickier clicking the button) and select a new date (using shortcuts), the date is not changed. If you change to a date in another month, the date is always changed. Sometimes if a date is set you can change it the first time, but not the second time.
Image duplicating
I'm having this problem with a lightbox type function when I click images on my website. I'm not using the lightbox plugin, but a similar script I found on a blog [i'd source it but can't find it at the moment]. What's happening is that [seemingly random] it will display two instances of the image when I only single click on it. Code: $(".enlarge").bind("click", function(){ $("#display > img").each(function(){ $(this).remove(); }); $("#display").show();
UI AutoComplete Multiple Demo - Caret Position in IE
While attempting to implement an autocomplete widget similar to the " Multiple values " and " Multiple, remote " demos on the jQuery UI website, I discovered a minor issue when using the autocomplete field in Internet Explorer (tested in IE7 and IE8). Once the user selects an item from the autocomplete dropdown, the caret (cursor) position in the text field resets to the beginning of the text field, rather than moving to the end of the value. Because of this, if the user is not savvy enough to realize
Jquery site does not support Oper
While jQuery is compatible with Opera, that is not the case for the API information site. I have to switch browsers every time I lookup a function... Take for example: http://api.jquery.com/html/ See attachment for a screenshot. If it was just ugly it would not be a problem (for me) but 95% of the text just vanishes...
Initializing (many) droppables freezes IE8
Hi, got a little problem with this great library. I'm using the draggable/droppable. I have a table with about 400 cells (grid like). In some cells there are div-layers that are draggable to other cells (every cell is droppable). It works like a charm in FireFox. Then I've tested it with IE8 and got a problem. In IE8, the initialization on the ~400 cells with the .droppable-method takes about 10+ seconds and really freezes the browser (titlebar says "not responding"). As I said, with FireFox it does
append() wont work with xml tags when ff uses the xml parser?
When i send a site header with php like this: <?php header("Content-type: application/xhtml+xml"); ?> jQuery works, but not allways the append function. Im using Firefox 3.6.6. Is this a bug? More examples: $("div#workbench").append("Test"); //<-- this works great $("div#workbench").append("<strong>Test</strong>"); //<-- this wont work :( It wont work with every type off html/xml tag. When the browser works in normal html mode allways is fine. What is the reason?
Autocomplete Combobox from Documentation Bugs
The autocomplete combobox has the following bugs: submits forms when you select an item does not take into account the initially selected option you cannot set the value of the combobox programaticallyI solved these issues and the code I added will work for jQuery ui 1.8. Note: I also have a 'set_empty' call that will only set the combobx if it is empty. I was using this for starting with a value if one had not been previously set. Feel free to rip it out if you don't want/need it.
":visible" - selector is true for opacity=0
$("#abc").fadeTo(0,0); alert($("#abc").is(':visible')); //return true; but it is not visible!
Possible fadein bug?
Hi guys, I've worked with Jquery for a while now so I'm quite confident with the ins and outs. However I've come across something that's got me stumped. I'm in the process of creating a website for a record label, and have designed the site in such a way that there is only one actual page and that each individual "page" is simply a div that fades in and out along with its own individual background. The problem that I've come across is that upon first arriving at the site the front "page" fades in
Need to click several times on links in Firefox with jQuery animation
Hi, Our site was using jQuery animation on links. We noticed that FF sometimes needed additional clicks to navigate, whereas IE did not. We unfortunately had to remove the jQuery animation because of this. We were doing this: $("#rss.CssMO").removeClass("CssMO").mouseenter(function(e){ var $this=$(this); $this.children("img").stop(true,true).fadeOut(); }).mouseleave(function(e){ var $this=$(this); $this.children("img").stop(true,true).fadeIn(); }).click(function(e){
NOT_FOUND_ERR: DOM Exception 8 - fragment.appendChild( ret[i] )
I have a problem with a script in safari. firefox and ie work. The script fetches from another page content whats in a div and give it out on the current page. but in safari nothing is loading. I get the error "NOT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a node in a context where it does not exist." in the row 113 (min) or 4500 (uncompressed) of the jquery 1.4.2. using jQuery 1.2.6, it goes, but other scripts and function do not work then. how can I fix this problem? my script
Multiple problems with IE 8 and Jquery 1.4.2
Hey all, I'm getting some weird bugs in IE 8. First of all, I should mention that *everything* works as advertised in Chrome, Firefox and Safari. I'm encountering these problems ONLY when using Internet Explorer. When I run the following JS code to initialize the page- $(document).ready(function () { init($(document.body)); }); I get the following error message from IE- "Object doesn't support this property or method" The second problem I'm having with IE is that there's some sort of infinite loop
e is null or not an object - recursive function IE8 only
Hi JQuery Forum... I have an issue when running the following recursive function using jQuery. It was initially noticed on http://duplos.org/ it has a recursive function for iterating through each "Bubble" and randomizing the new bg-position. Simplified version (of code): $(div.bounceBubbles').each( function () { $(this).css({backgroundPosition: '5px 5px'}); bounce(this); } ); function bounce(currentA) { newx = Math.floor(10*Math.random()); newy = Math.floor(10*Math.random());
Uncaught jQuery UI Tabs: Mismatching fragment identifier.
Do not run in IE8 and chrome, i have this error with this code : <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.custom.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ var pdata = eval('('+'{"client":[["test1","test1"],["test2","test2"],["test3","test3"],["test4","test4"],["test5","test5"],["test6","test6"],["test7","test7"],["test8","test8"],["test9","test9"]]}'+')');
Draggable - 'text' cursor is shown in Safari
Hi there, $(".myCss").draggable({ cursor: 'move', other settings...) Based on this code, draggable object should show 'move' cursor while dragging. In IE and FF it works perfectly; but in Safari, it shows 'text' cursor while dragging. Tested in safari 4.0.5 Is this a bug?
Cycle Lite stops after 2 images
photo1.gif fades in as expected, then fades to photo2.gif, but then nothing else happens. $(function() { $('#slideshow img:first').fadeIn(1000, function() { $('#slideshow').cycle(); }); }); <div id="slideshow"> <img src="photo1.gif" class="first" /> <img src="photo2.gif" /> <img src="photo3.gif" /> </div>
Sortable grid option does not seem to work for me
I created a sortable: $(function() { $("#sortable").sortable({grid:[0,41]}, {tolerance:'pointer'}, {containment: 'parent'}); $("#sortable").disableSelection(); }); From this element: <ul id="sortable"> <li class="ui-state-default" ><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 1</li> <li class="ui-state-default" ><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 2</li> <li class="ui-state-default" ><span class="ui-icon
is this a bug or am I just rubbish at using jQuery?
I'm trying to use jQuery to change the color scheme of a site and it all seemed to work lovely in FF but failed in IE with the error message "Error: Invalid Argument, Line 4619 character 4 blah blah blah". I think the line in my code, which called jQuery & led to the failure was this: var currentFontSize=$.cookie('fontresizer'); $('html').css('font-size', currentFontSize + 'px'); I found a fix somewhere on the interweb from 2008! (http://www.n8williams.com/devblog/javascript_and_ajax/jquery-dialog-error-in-ie7-runtime-error-invalid-argument)
Activity Trend Issue
I just went into my profile and noticed the new Activity Trend area. the activity in the past 30 days looks good, however, the all time selection shows results from 1970-2002. Shouldn't it instead show all time from my first post to my last post? There were also no controls to change the date range of all-time. I'm using Google Chrome 5.0.375.99 on Windows 7 -- Kevin ------------------------------------------------ http://www.tentonaxe.com
UI 1.8.2 and 1.8.1 datepicker bug
This bug occurs when you have a list element with more than one datepicker element within it. The code example can explain far better than I can. Basically, clicking on the second datepicker opens the first, even though the input element have different names and ids. Tested on Mac Firefox 3.6.6, Mac Safari 4.0.4 (6531.21.10), Mac Chrome 5.0.375.99 jQuery UI 1.8.2 and 1.8.1 Example Code: http://pastebin.org/396155
data.querySelectorAll('multistatus') works, $('multistatus', data) fails?
The following uses jQuery.ajax() to make a request to a Subversion repository. The response is content type "text/xml" I can traverse the response with, data.querySelectorAll('multistatus'), etc. - but $('multistatus', data) returns zero elements Any idea why $('multistatus', data) fails, while data.querySelectorAll('multistatus') succeeds? May I open a ticket? jQuery(function ($) { jQuery.ajax({ type: 'PROPFIND', url: '/svn', beforeSend: function (xhr) {
blockui - chrome issue
Hello Guys, I'm using the blockui (ver. 2.33 (29-MAR-2010) ) and am facing some problems on Google Chrome (version 5.0.375.70 and 5.0.375.86 for Windows XP). The problem is when the blockui is fired and closed the scroll bar of the container changes its colour to black and red, kinda Photoshop's effect called "solarise". Did anyone face this problem? Is it any known Google Chrome issue? Thanks in advance, NOTE: I couldn't reproduce it on Google Chrome ver. 5.0.375.99 for Ubuntu Linux. Esteban Acosta
ui tab slows browser with lots of data
The problem I am currently facing is that I am loading about 500 rows of data into a tab which then is causing poor performance with the browser (cpu usage jumps to 50-60% and takes a bit to calm down). It works perfectly fine with 50 or less rows, but I have to allow up to 500 rows to be displayed as that is a requirement from management. The performance problem only occurs when you click within the tab with the data. Clicking outside the tab or switching to another tab with less data does not
tabs perfomance problem?
Hi, iam loading data from a xml file into a tab container (some text and attribute values - its not a big amount of data) . on my local testserver (apache 2, ubuntu) with 1Gbit lan it works like a charm. unfortunately it does not work on the web server. the elements are just shown one after another. i assume it fails because of the connection speed or maybe the server performance. has anyone an idea or a fix or proposal for a solution?
Next Page