Euw Spammy!
So it seems that back in the mists of time when the jquery mailing list moved to Zoho I added the equivalent forums to the mailing lists to which I had been subscribed to be on my WatchList... All of a sudden with no warning this afternoon I've suddenly received over a dozen emails from zohodiscussions.com. So it seems that emailing things on watchlists has suddenly started working. I can't find a setting for this though. The emails as they stand are not really terribly useful, since they don't
$.require before onload doesn't prevent onload in Chrome
After trying out $.require in Chrome, it seems like if you use it before onload, it doesn't make onload wait for all scripts (like it does in IE and FF). I know you can do this by using document.write in Webkit based browsers. Is there another way? Surprisingly, it doesn't seem to work if you append to the body.
UI 1.8RC1: Datepicker yearRange & changeYear bug
Hey folks. according to this bugreport: http://dev.jqueryui.com/ticket/4870 i got another small issue with the new jqui version: old code (UI 1.7) $("#datepicker").datepicker({ changeYear: true, yearRange: '-10:0' });This is not longer working. I tested a bit, and got the issue: $("#datepicker").datepicker({ changeYear: true, yearRange: '-10:+0' });i'm not the best at maths, but +0 doesn't make sense for me ;) should be simply 0 :) If
undefined as request body for ajax calls in Chrome
(reposted, the original was having problems) There's a ticket open for this issue for 1.3.2, but I've encountered the problem in 1.4.1 as well as the nightly. I've updated the ticket with what I think the root cause is -- a Chrome bug -- and my proposed solution. I believe the simplest fix is setting jQuery.ajaxSettings.data to null instead of leaving it undefined. Comments?
Jquery crash bug on IE8 using .attr() method
Jquery doesn't support namespaced attributes, which is fine, but it shouldn't crash when they are used. The enclosed file demonstrates that querying for .attr('ex:role') inside a table causes jquery to crash (silently) and interrupt processing. This forum claims it won't let me upload my sample html file, so I'm enclosing the source here. Or, you can visit http://people.csail.mit.edu/karger/jquery-bug.html <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.js"
onChange event not firing in IE8 when clicking on 'X' to close the dialog with most recent focus in changed input
I have a simple form that is displayed in a jquery-ui dialog box. I've added an onchange event handler to all input fields of the form to mark the input with the "dirty" class when the input field changes. Then in the beforeclose of the dialog, I check to see if there are any inputs with the "dirty" class. If so I warn the user, that they've modified something in case they'd like to go back and save their changes. The problem occurs when a user types in a field, then clicks the 'X' to close the
IE text input problem with dialogs
Hi, I have a problem with some text inputs, inside a dialog, being displayed incorrectly in IE. I'm using jQuery 1.3.2 and jQuery UI 1.7.2. I have a very simple form inside a dialog. I'm using a table for the layout and some labels and inputs. With webkit or mozilla everything works fine, but with IE6 and 7 (I haven't tested it with IE8) I get some shrunken inputs (check the attachment). Has anyone faced this problem? Am I doing something that I shouldn't be doing? Here's the code: <!DOCTYPE html
Nested sortables cause strange behavior in IE
Having connected nested sortables seems to cause odd behavior in Internet Explorer(both 7 & 8). Example here: http://mastersite.sohowire.com/sortTest.php To reproduce: Drag 'cinco' or 'cuatro', and the entire green container and everything inside it disappears. A double placeholder will show up, sometimes with a gap in between them (straddling other items). I've tried to simplify the example, however the results seem to vary with more complicated implementations. In my actual app, IE is deleting
Improvement to $.isPlainObject
The current isPlainObject in 1.4 tests .nodeType because IE makes dom nodes look like objects. This has the side effect that $.isPlainObject({ nodeType: ... }); will return false when it should return true. I did a little testing of properties on nodes in IE. I started by testing various things on node.childNodes coming across window.NodeList. However because node.childNodes.constructor === window.NodeList will not work across iframes I looked for an alternate toString based way to detect ie dom
FullCalendar not Working in CakePHP 1.2.5 with jQuery 1.4.1
I am trying to fetch the events data through a URL which will return JSON data. The same code is working with jQuery 1.3.2 but not with jQuery 1.4.1 I am getting this error in FireBug console a is undefined for (var i=0; i<a.length; i++){\n fullcalendar.js (line 369) I am getting the JSON data as I can check it in response header of FireBug jQuery 1.4.1 imposes strict JSON parsing I am not sure whether it is the issue. I have kept the FullCalendar example
datafilter set by ajaxSettings is not being called when using jqGrid
Hi, I'm not entirely sure whether this is a jQuery issue or a jqGrid issue, but we are using the jqGrid to display our grids, and easily enable sorting and filtering. THis works great. Our server howvever is designed to wrap ALL result into an array of generic information that should always be returned to the client (such as fields we want to keep up to date, status of the server, or just error messages), and put the actual data to be turned into the $array["data"] prior to json_encode it and sending
Simple Loop Problem (new to Javascript)
I have to populate a number of dropdown lists. I have a function that works, and I'd like to loop through it several times in order to populate the lists. Assuming that my dropdown lists have ids of color1, color2, etc, can someone tell me what is wrong with the function below? function dropdownlist(listindex) { var i=0; for (i=0;i<=5;i++) { document.form.color+i+.options.length = 0; switch (listindex) { case "3.86" : document.form.color+i+.options[0]=new
WYSIWYG not showing copied styles correctly
When I copied the name a of forum from the left column of the post listing (e.g., "Using jQuery Plugins" in large, bold letters) and pasted it into the WYSIWYG, it showed up normally (screenshot_09.png), but when I published my post, the copied text and everything following it showed up bold from the copied styles (screenshot_08.png). A clear formatting button would be nice, but if the WYSIWYG reflected the styles correctly that'd be even better. :)
Yet another change event bug on IE
test case: http://gist.github.com/301350 (jsbin is somehow broken with my test case on IE :( ) Try changing the select option once, then blur it by clicking anywhere else on the document, you will see the change event is fired twice. On other browsers it is fired once only.
IE change event not firing on text input after setting value - possible regression
Here's the link to the bug I filed: http://dev.jquery.com/ticket/5892 And a link to a test page: http://dl.dropbox.com/u/11686/test.html A better description and STR are on the linked test page. This behavior is only occurring in IE 6-8 with jQuery 1.4.0. Previous versions of jQuery and/or other browsers seem to work as expected for me. Can anyone duplicate this one? Thanks, Aaron
html() stripping <style> in IE sometimes
In the following test case, a textarea contains an html snippet/template that we'll try to insert into a div directly above the textarea. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.js" ></script> <script type="text/javascript"> $(document).ready(function(){
Bug loading html with script in jquery 1.4
Hello, I found a problem when loading a section of a page using $.load/$.ajax. I have a page that loads some html content and a script tag. The html is loaded successfully, but the script is not processed after about the 3rd attempt. The section I want to load has less than 512B. If the section is larger than that then the scripts are processed successfully. This problem in only in jquery 1.4. If I try exactly the same thing using jquery 1.3.2 than the scripts work every time. Regards, Cosmin Harangus
My translation plugin is fighting jQuery for an undocumented $.getText
It seems that 1.4 exposed a new $.getText utility function, which breaks my translation plugin. Or rather: My translations plugin - which uses $.getText - breaks $.text because it overwrites an undocumented $.getText function, which $.text depends on. Some questions: 1. Why is this function not documented? 2. Why doesn't jQuery refer internally to getText function rather than jQuery.getText? Is this to save on the closure? 3. Why is this function not consistently named like other jQuery utlity functions?
$.ajax() calls success handler when network is down, v1.4.1.
Hello all, It seems in jQuery 1.4.1 (haven't tested in other versions), doing an AJAX call while the machine is not connected to the internet results in a call to the success handler rather than the error one. Example run on Chrome 4/Windows 7: $.ajax({ url: 'http://www.google.com/', type: 'GET', error: function() { console.log('Error!'); }, success: function(x) { console.log('Success. Response: "' + x + '"'); }, complete: function(xhr) { console.log(xhr.status);
Found an issue in trunk version of jquery.autocomplete.js
Hi, I have found an issue with the latest (r3795) version of jquery.autocomplete.js. It is actually in the ui.menu widget that it in that file. You can see the problem if you setup a simple ajax autocomplete and mouse over the results - a javascript error occurs. The error occurs because of line 333-ish in the refresh function: .mouseenter(function() { self.activate($(this).parent()); }); At this point in the code, 'self' is a reference to the window object, rather than the menu object. The
jQuery Context Menu Plugin doesn't work in jquery 1.4 in chrome/safari
Hi, Just upgraded to jquery 1.4 and this plugin doesn't work correctly in chrome/safari. The context menu appears but the browser context menu also appears. This only happens when using jquery 1.4. I tried debugging the source code with no luck, does anyone knows why this stopped working? http://plugins.jquery.com/project/jqueryContextMenu
firefox iframe length
I have multiple iframes on the page, when I issue alert( $('iframe').length ); it only gives a count of 2. The correct number should be 5 in my case. When I run the page with IE 8 it gives the correct count. What am I doing wrong here? Thanks
jQuery application/xhtml+xml error
As I noticed earlier this evening when switching output of a project from text/html toapplication/xhtml+xml jQuery stops working. After testing on a number of different browsers I noticed the following error: TypeError: Result of expression ‘div.style’ [null] is not an object (Line 825 in the development version of jQuery 1.4.1) To see for yourself try this failing tablesorter.
Hit return does not perform "Search jQuery"
Why do we have to click the search magnify glass image to perform a search ? Surely you should be able to just type string and hit return to do search ? Using firefox 3.5.7 on Ubuntu 9.10 Dave
Cluetip on file field: window to select file doesn't open
Hello I am testing Jquery and cluetip and I have a problem when I put a tooltip on a input file field. The tooltip is diaplayed but it doesn't open the window to choose the file when I select the field (nor when I type on the browse button) Here is the html line <input class="tooltip" id="picture_picture" name="picture[picture]" size="30" title="Fichier | Sélectionnez la photo sur votre ordinateur (Seuls les formats jpg, png, gif sont acceptés)." type="file" /> and my javascript $('input.tooltip').cluetip({splitTitle:
QUnit::same infinite loop
I'm wondering about a case where I am experiencing infinite recursion... i think. var top = {owner:null, children:[]}; var a = {owner:top, children:[]}; var b = {owner:top, children:[]}; var c = {owner:top, children:[]}; top.children.push(a); top.children.push(b); a.children.push(c); b.children.push(c); same(a, b, 'will this ever return?'); Thanks for any insight here. Thatcher
bind function not working on a sortable
I'm trying to handle the sort-stop event. I am able to specify the event handler on initialization of the sortable. // This works $("#sortable").sortable({stop: function(e,ui){alert("sort stopped");}}); but I am unable to use the find function to accomplish the same. // This has no affect $('#sortable').bind('sortstop',function(e,u){alert('sortstopped);}); Advice is appreciated.
1.8.1 RC 1 datepicker bug
1.8.1 RC datepicker has a bug with showAnim ; if showAnim is set it never closing , the problem in _showdatePicker method , if showAnim sets, the processPost method not triggering so datepicker open flag not sets.
1.4.1 change from 1.3.2 .add()
"As of jQuery 1.4 the results from .add() will always be returned in document order (rather than a simple concatenation)." I don't know why but this stopped working: var popup = jQuery('<div id="HowToStartPopup"></div>'); var popupContent = jQuery('<div id="HowToStartPopupContent"></div>'); var popupCloseBtn = jQuery('<a href="#" id="HowToStartPopupCloseBtn" title="Close Popup">[x]</a>'); popupContent.add(popupCloseBtn).appendTo(popup); in 1.3.2 popupContent and popupCloseBtn are both children
.live("hover") no longer works in 1.4.2pre? (does work in 1.4.1)
...wonder if this has to do with the recent internal reworking of the event system, but the following code no longer works for me in the nightly, while it does work in v1.4.1 $(".btn_item_del").live("hover", function() { $(this).closest("tr").toggleClass("del_q"); }); just to clarify, it doesnt fire at all. regression maybe? thanks, Leon
Possible jQuery 1.4 and jQuery UI 1.7.2 bug
Hi jQuery team, I posted this to the google group and immediately got an invitation here, so please excuse the cross post. I think I've found a small bug when using jQuery 1.4 with jQuery UI 1.7.2 in the 'open' event of the dialog widget. When I tried to hide an element in the dialog during the 'open' method, it doesn't work when using jQuery 1.4, but it does with jQuery 1.3.2. Explanation and demo of the bug: http://bit.ly/5Hz2u3 Cheers, Shaun
bassistance's Treeview: vertical lines breaks in large trees
A wrote: will.moffat on 19-Nov-2008 03:32 PM I've been using the TreeView plugin from: http://jquery.bassistance.de/treeview/demo/large.html Unfortunately the vertical line between nodes breaks if there are a large number of child nodes. Example screen-shot: http://imagebin.ca/view/wNL8Ez.html Anybody have a fix for this? cheers, --Will As I replied in the old and lost topic, more than one year later, this problem is still running. I'd like to use treeview for handling very large trees, but
jQuery UI Demos Page Needs $(document).ready?
When visiting several of the jQuery UI demos this morning, I noticed that the initial demo did not start. I experimented by adding a $(document).ready block around the initial UI script, which seemed to clear the problem. I found this first on the Dialog demo page, where the "default functionality" dialog was displayed as straight text on the page rather than popping up as a dialog.
How To pass PHP variable To Jqueruy
I am using Jquery for form validation. So after the validation find true, from that validation.php , i want to pass a PHP variable to custom.js( Jquery file). How can i do it. I am getting validation errors as a concatinated string which is returned by php, am trying to append a variable to that string. but its ech oing on the screen. Is it possible to assign a variable in that PHP file and pass to jquery file. Thanks In Advance Zod!
Problem with .load() and browser close
Hi, have a problem with .load() i hope you guys can give me a hand. The following list - File 1 | 0% | Process - File 2 | 0% | Process each file is a xls file with 10000 or more cells to process Process is a link, with the following code. <a href="process.php?4a7af260640d6b198e846d58e69037224.xls" onclick="procesa_archivo(this.href, 4); return false;">Process</a>The procesa_archivo function is as follows function procesa_archivo(url, id) { $("#archivo_"+id).html("<img src='/images/indicator.gif'
fade effects and html5 elements
I'm probably going to look into it later, but while using jQuery today on a html5 <section> node which I had applied position: absolute; to fadeIn/fadeOut was acting really screwy on it. fadeOut didn't seam to work, and fadeIn did something weird with opacity on things that were already displayed. For a test I think you should be able to reproduce the issue by putting a <section> in the page and giving it a position: absolute; style and trying to use fadeIn/Out on it. I found this issue in both Firefox
Dialog resizes after drag event
I'm using jQuery 1.3.2 and jQuery UI 1.7.2. I create a dialog box with the following: // build the modal dialog var modalContent = $('#modal-content'); modalContent.dialog({ modal: true, width: 740, height:550 }) // navigate to the titlebar .parent().children('.ui-dialog-titlebar') // set its info to the modal header's .html('').append(modalContent.children('.ssModalHeader')) // navigate to the close link .find('.modal-popup-close') // bind to its click event .click(function () { modalContent.dialog('close');
Theme Roller Isn't Bundling Sprites
I tried to use Theme Roller today. I tried some customized colors as well as some defaults and neither include the sprites for the theme. Not sure if this is the proper place to post this, so I'll try here first.
ThemeRoller not working
I've been having a heckuva time with ThemeRoller the past few days. It doesn't matter what browser I use, I get the same issues. I customize a theme without any issues then go to download it. My project requires a CSS scope, so I get that then click on download. I get offered the zip archive just fine, but when I open it up, there are a few issues. For starters, there are no minified versions of the individual JS files. I don't use all the components so obviously don't want to put items in my
Issues on Watchlist page
Just a few things I noticed on the Watchlist page (see attached screenshot). The "Sub forums (0)" tab doesn't gracefully span two lines The info message in the yellow states "Here, you see give of the most recent activities for the past ten days." however it lists more than five and from farther back than ten days. It'd be really nice is this page sorted topics by last reply.
Next Page