Error with modal dialog when opened 3 times
I just left a comment in another thread about this issue, but that thread is marked solved so I'm afraid the powers at be might not look at it. However, this solution only opened up another bug as I've described here: http://forum.jquery.com/topic/ui-widget-overlay-css-selector-causes-consistent-large-memory-leak-in-ie#14737000000749340 I hope this gets fixed before the final release or I'm guessing we'll have some unhappy campers. Maybe the solution is to not have this line in both the destroy
[ThemeRoller] - Bookmarks of custom themes not loading properly
Since the 1.8rc3 rollout the ThemeRoller does not seem to be loading bookmarked custom themes correctly. For example: I start from scratch, change the font weight to bold, observe the URL changes correctly, and bookmark the page. Upon revisiting the bookmark the URL is correct, but the ThemeRoller does not load the font weight to be bold. All ThemeRoller settings remain as default, instead of loading the $_GET variables.
slideDown leaves display block
Please try this example If I use slideDown effect it leaves an inline style="display: block" that causes the list ordinal to be hidden. How do I solve it?
jQuery 1.4.1 doesn't handle live namespaced events
In jQuery 1.3.2 you could create live namespaced events by doing this: $('div').live('click.name', function(){ console.log('hello'); }); In jQuery 1.4.1 this results in the event never firing. Looks like this is missed in the test cases. We probably need to test adding and removing live namespaced events. Looks like someone has already created a ticket for this: http://dev.jquery.com/ticket/5945
is this a jQuery 1.4, AutoComplete plugin or Opera bug?
If I use v1.3.2 (and previous versioins), no problem in Opera broser. If I use v1.4.1, Opera expands the dropdown box. Declaring width is of no use. AutoComplete v1.1
UI Button checkbox doubleclick problem on firefox
See http://jsbin.com/ijovi/3 The behavior with FF 3.5.8 when doubleclicking a checkbox is to stop changing the checked state once after one click. It does not continue changing state while rapidly clicking or double clicking. In Chrome continuous clicks continuously toggle the checkbox state. However the UI Button does continue changing its active state regardless of its inputs checked state. Also, I may be misunderstanding things, but the aria-pressed state seems to be exactly opposite of the
Issue with Forum constantly refreshing...
Hi All, Is it just me or is the the forum constantly refreshing, thereby writing over the browser history, thereby pretty much disabling any back button, back link functionality found within the browser or forum itself. It's not a deal breaker but it is annoying... Dom
Spaces in search are broken
When I search for a string with spaces (https://forum.jquery.com/#search/awesome%20sauce), the spaces are usually taken as literal %20 and the search comes up with no results. Known issue?
Pb with theme switcher widget in production
Hi. Well done ! The demos page are working. But I have the same problem in production : With this originals includes (that works fine before) : <link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/tags/latest/themes/base/jquery-ui.css" type="text/css" media="all" /> <script type="text/javascript" src="http://jqueryui.com/js/jquery.js"></script> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
:visible Selector
:visible wont work on <table> <col/> <col style="visibility: collapse;"/> <tbody> <tr> <td>visible</td> <td>invisible</td> </tr> </tbody> </table> like this $("table").find("col:visible")
CSS Issue on line 66
The Code ".ui-widget :active { outline: none; }" is not valid. It must be ".ui-widget a:active { outline: none; }" or else... With the invalid code some plugins (for example jqGrid) is not working. After fixing the issue all is fine.
How to use tablesorter to sort countdown values
Hello, I am using tablesorter at many places in my project. Now I am in a problem. I am using jQuery countdown to display countdown. Tablesorter is not working on the countdown, I googled but found nothing useful. I tried to write custom parser, but no luck, it was not working. Please help. Thanks in advance
fn.button inconsistency
The current enabled/disabled state of button is inconsistent with it's intended (if any) behavour At the moment, following is true: setting disabled="disabled" in DOM doesn't affect creation of button setting options.disabled to true doesn't create a disabled state, only a call to _setOption will trigger what options.disabled is set to (via $.Widget.prototype._setOption()). options.disabled is undocumented, though _init is reacting to it, though in limited way calling .button("disable") doesn't set
QUnit::equiv Envjs Rhino/SpiderMonkey
I'm currently trying to get Envjs on Rhino compliant with jQuery 1.4.x and QUnit.equiv is giving me a bit of trouble. Not because of an actual bug but only because when properties of a Node are enumerated for deep equivalence checking (which is good) the properties are not enumerated in the same order (which can be bad). I'm sure 99% of dev's are aware of this rhino/spidermonkey difference but it's not normally an issue. Unfortunately rhino enumerates parentNode before childNodes and that leads
Fatal in CLASS function with XHTML DocumentFragment: "elem.getAttribute is not a function"
(This is ticket 6162 which I spammed here after a question on the IRC channel.) Since jQuery 1.4, my XHTML web-app (too vague, I know) throws a fatal error in the |CLASS| function. Apparently, the |elem| that is being used is not an element but a |DocumentFragment|. When I switch the |Content-Type| to |text/html|, the problem is gone. I have hackily patched the |CLASS| function in jquery-1.4.2.js on line 3269 to check for a |firstChild| as follows: var className = elem.className; if (!className)
Strange slide effect when using relative width
Tested with jquery nighly and ui 1.8r3. When having an div which has width in percent, the slide jump that many steps both on show and hide, for example on 50% it skips half of the object. see http://jsfiddle.net/n4vET/3/ for example
Pb with theme switcher widget
Hi! Have you notice that the theme switcher widget don't work even in the demos page ? There is no solution to have a stable version of the theme switcher working even when new versions of jquery (including ui) are released ?
URGENT!! Themeswitcher tool not working!
The Themeswitcher tool is not working in my website. It is not working in the jQuery Themeswitcher API page as well: http://docs.jquery.com/UI/Theming/ThemeSwitcher Please do the necessary as quickly as possible.
datepicker object expected in IE
Hi, i got a problem with the datepicker ui. using it with firefox there are no problems at all. but in IE8 i get an error "object expected". im not really familiar with javascript so can't find a solution for this. here is my code in the html header: <script type="text/javascript"> $(function(){ $('.date').datepicker({ inline: true, dateFormat: 'dd.mm.yy' }); }); </script>the problem occurs after
Problem with Jquery UI draggable1.8rc2 under IE7. (work ok with 1.7.2)
I update JQUERY UI to 1.8 rC2 on the app i develop because I had a problem with draggable and IE8 when i used 1.7.2. It was reallt slow. It is really much better now. Thanks a lot :) ...but I find a new problem who occurs only on IE7 : On my app (see link below), the green button you can drag (criteria on this exemple) are dragging under the widgets. It was ok with 1.7.2 version. It only happens on IE7 (work fine on IE8). I used the z-index css style and to manage what composant is on top and it
Stuck in 1.3 reference when I want to see 1.4
(Hope this is okay here. Don't know where to put documentation/site problems...) I'm very confused. Jquery.com's 'Documentation' link leads to docs.jquery.com but the only really handy reference (now, post-1.3.x) is api.jquery.com. I don't see the reason for the split, and since there's no similar link to api.jquery.com, how is anyone supposed to get there? Did I change some setting I can't edit now or something? I could have sworn before I got to api.jquery from the plain jquery.com site... Either
Autocomplete & Slider z-index issues
I filed a ticket on this, but thought I'd post here as well for good measure. On the latest push of Themeroller with 1.8rc2 support, the slider widget stacks on top of the autocomplete results in at least FF 3.6. Type the letter "a" to ensure the list is long enough to reach down that far. Changing the z-index of ul.ui-autocomplete to "2" stacks the slider bar behind the autocomplete, but not the slider handles. Changing the z-index to "3" seems to fix this completely. HTH
no optimization for :eq, :lt, :first
Doing a $(document.body).find("*:lt(10)")takes just as long as $(document.body).find("*")so I think it's getting all elements and then selects the first 10. It should be optimized to only get the first 10 elements in the first place and not go through the whole tree pointlessly. Same thing happens for :eq and :first. Both should stop once the required element was found.
default array matching behaviour of autocomplete can lead to unexpected results
When providing an array to the autocomplete control the default matcher tries to match on the item's value before trying the item's label. This can lead to unexpected behaviour when the value and label have little in common. For example: $('#some-control').autocomplete({source:[{value:1, label:"one"}, {value:2, label:"two"}]}); The user will try to get to "one" by typing "o...n..." but will never get there as the widget is testing against [1, 2] not ["one", "two"]. Line 155 in in trunk (SVN-3841)
.html() and Firefox 3.6 issue
Hi, I'm currently using jquery 1.4.1 and I noticed a strange behaviour of firefox 3.6. When I change an element (like textarea) with .html("some new input"), the element only gets changed as long as it's been previously empty. In case I've written into the textarea already, the content wont change anymore. I couldn't replicate this behaviour on chrome, thus I think it's a firefox related issue.
Problem with .find and attribute selector when attribute have escaped special character
Test Case: <!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <div id="MyDiv"> <input name="NS$MYFIELD" /> </div> <script> var x = jQuery("#MyDiv"); alert(jQuery("input[name=NS\\$MYFIELD]").length) //1; alert(x.find("input[name=NS\\$MYFIELD]").length) //0; </script> </body> </html> Firebugging it: Stack: find() > Sizzle() > Sizzle() > filter() > ATTR() 3284 return result == null ? 3285 type === "!=" : 3286 type
Autocomplete Inside a Dialog 1.8rc2
Im working with the autocomplete inside of a dialog. the autocomplete positioned in the middle\bottom of the dialog. When i get the select menu results, the dialog gets a scroll because of the select menu height (to see the result i need to scroll the dialog), in a result i had to limit my result, and change the height property of the dialog. I think that: The select menu should go over the dialog tough its inside the dialog body div. or Add a scroll to the menu by calculating the extra space
Safari and image maps
Hi, I've got kind of a problem with Safari and image maps created on fly with jquery. On first visit on the page everything's fine but once i refresh the page, generated image maps aren't available anymore. It's quite a weird behavior since it works perfectly well on Firefox 3.6 and Chrome. Has anyone ever got the same issue ? Here's a test link : http://turnthelighton.fr/vincent/Test/ jquery script is here : http://turnthelighton.fr/vincent/Test/js/style.js I've tested this on Safari 4 and i'm using
How can float widgets get swapped or sorted with each other just on a little contact from any direction without entirely overlapping each other?
Hello, I am A developer and i used yours Sortable plug-in. It was working fine. But My boss demanded to float the divs with different width and height and then apply ui.sortable to them. He also said me to make it like google when on just on the touch to other div border, sorting starts. But when i made the divs float with different sizes, and applied sortable on them. We noticed that we had to move any box all over the other box in order to sort them. Sometimes it becomes very difficult to sort
Using jQuery in strict mode generates a lot of warnings.
Hello! When using jQuery in JavaScript strict mode, the library generates a lot of warnings. These warnings tend to be valid, pointing to problems waiting to happen. It also makes analyzing your own code tedious. To reproduce: Start an up-to-date version of Firefox. Enable the strict mode by entering about:config in the address bar and setting javascript.options.strict to true. Run JS code that makes use of jQuery - ideally a test suite which covers all code paths of the library. Review the
jQuery 1.4.2 .data() unexpected behaviour
Initially interrogating an unset .data() member returns null (typeof == "object"). After querying the .data() object itself, further tests return the expected 'undefined' for unset data members. This behaviour is present in 1.4.2 and differs from 1.3.2...I haven't yet tested intermediate versions to see where the behaviour was introduced. It's been tested on both FF3.6 and Safari 4.0.4 This is breaking some code which checks for typeof == "undefined" to test for an unset .data() value. The following
Error in forum!
When I click "login" I get the following message time to time: ({'result':'failure','reason':'Please enter valid serviceurl' ,'errorcode':'PATTERN_NOT_MATCHED' })
Element reference methods after 1.4.1 upgrade.
***I've posted this question twice so far and it hasn't shown up after about 15 hours:*** The following used to work with version 1.3.2 var x = $('#ElementID').val(); var x = $("'#" + "ElementID" + "'").val(); var eid = "'#" + "ElementID" + "'"; var x = $(eid).val(); Only the top one works with version 1.4.1 Similarly the following used to work with 1.3.2 but it doesn't work anymore. var eid = "ElementID"; $("'#" + eid + " option[value='" + x + "']'").attr('selected', 'selected');
Bug with new HTML Creation Syntax?
$("<table />", {id: "someId1"}) //this works great $("<table cellpadding=\"0\" cellspacing=\"0\" />").attr("id", "someId2") //this works as it always did, but... $("<table cellpadding=\"0\" cellspacing=\"0\" />", {id: "someId3"}) //boom! I'm not sure if that's intended behavior or not, but it seems like the third line should work.
Superfish sub menu hidden on IE7 only
Hello If you go to http://www.katalystonline.com/case-studies.html using IE7, hover over the FastTrak menu item and follow its sub menu, you will see how they get hidden behind the slider below. This only appears in IE7. Can somebody help me out with this problem? I have a feeling its something to do with z-index but I could be wrong. How can I make the sub menu overlap? Thanks for any replies. kwitang
IE 7 and dialog tab/focus handling
I believe there is a bug in how ui dialog keeps focus in the dialog. This version 1.7.2. I have not checked if it is fixed in newer versions. I need the most stable release at this point. It uses keypress to handle the tab key but IE7 doesn't give tab to keypress. I changed it to use keydown as so: // prevent tabbing out of modal dialogs (options.modal && uiDialog.bind('keypress.ui-dialog', function(event) { and a corresponding change in the close method. I made two other minor changes. When
Accordion bugfix - ui.newContent pointing to the right element
I don't know if there's a process for getting commit access (my google code username is ask@develooper.com or askbjoernhansen). Anyway, I added a patch for the ui.newContent not working right to the ticket about it: http://dev.jqueryui.com/ticket/4469#comment:4 - ask
JQuery Ajax call failure from a clickable image
I had a first post "Failure with jQuery ajax call" But my work of this day helps me to localize the origin of the problem. I made a very, very small project with a simple form one input field (in fact it is not used) one image (clickable) one button <input type="text" id="setNom" value="admin"/> <input type="image" id="validNom1" src="ok-16.png" alt="valider" title="valider"' /> <input type="button" id="validNom2" value="OK" /> <validNom1>
Datepicker gotoCurrent
The datepicker widget has a problem. gotoCurrent = true seems to work only if currentDay is set, which means that we could not use it if the format set is yy-mm for example. So when I choose 1980-03, and then click on the input field again, I'm back at todays date. A solution would be to automatically assume 1 for the currentDay when a day is not set. It would also be very convienient if the datepicker could be used in a simpler manner (chooseDay: false) so that it could be used as a year/month-selector.
Error in unwrap() method
Firebug Report the following error on using unwrap() method head is null http://code.jquery.com/jquery-latest.js Line 5093 Thanks, -Asim
Next Page