Importing jQuery 1.4.1 into greasemonkey scripts generates an error
Hi, I realise this is more of a glitch with greasemonkey rather than jQuery, but I thought I would post the info here anyway. Greasemonkey has an API called @require which can import a javascript library when the userscript is installed. http://wiki.greasespot.net/Metadata_block#.40require Unfortunately the latest version of jQuery (1.4.1) seems to be incompatible. The problem seems to be with "detecting-event-support-without-browser-sniffing" section around line 930. If you change var isSupported
fadeIn/fadeOut/Pulsate produces jagged text in Firefox 3.6.8
The following code demonstrates the problem, it doesn't happen when the text is black, but when setting the color to red it seems as if the blending goes completely wrong.(fadeIn/fadeOut does the same) See attached image: Tried other browsers(IE, Chrome) and it worked ok there. Windows 7 64-bit. This is the code that gives me the problem: <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
new jQuery 1.4.3rc1 breaks my UI accordion (but rc2 is fine!)
Hi, Just to let you know (and to ask confirmation) that I have a problem with the new jQuery. I dropped 1.4.3rc1 in an application with lots of UI stuff, and this is the only UI thing that doesn't work anymore. It simple doesn't display the accordion, looks like it's not build at all. Looks like, because the strange thing is, that an UL I have inside one of my content panes, has the extra markup added (like class="ui-accordion-header ui-helper-reset ui-state-default ui-state-active ui-corner-top"
$.ajaxSetup --> contentType doesn't work
Using: JQuery 1.4.2. Creating .Net app. Apparently it errors if i don't set the contentType. So I tried to set it in the ajaxSetup function, but it seems to reset it. The type and dataType attributes seem to work fine, though, just not the contentType. $(function () { $.ajaxSetup({ type: "POST", contentType: "application/json; charset=utf-8", dataType: 'json' }); $(".refresh").click(function () { $.ajax( { //contentType: "application/json;
Sortables hiding when they are dragged out of a div.
Hi. I am having a problem with jQuery UI sortable and ie8. I have a div (id='menu2') which contains the list of sortables. When I add the css filter: alpha(opacity=60) to this div, the sortables can no longer be dragged out of the box. I have added a link to a simplified example. The div on the left (black) has no filtor, and it works fine. The div on the right is identical but it has the filtor added. Try dragging the sortables outside of this div. test.awardspace.us The problem only occurs
Combined Resizable and Sortable not working !!!
I have Sortable div's and applied Resizable for each div... only resizable functionality working... can anybody got the solution please let me know.... Thanks & regards, Sankar R.
jQuery Form Plugin by malsup success function not working on IE7, works on IE8
Hello, I'm trying to submit a form with the jQuery Form Plugin by malsup. I'm fairly positive my code is correct because in IE8 the success function is being called and the background of the boxes are turning green. In IE7 however, The submit function is definitely working as the file is uploaded to the correct place, but the success function is not being called/fired. Any ideas as to why this might be? Do IE7 and IE8 handle this that differently? The function in the success call is just changing
1.8.5 update messes up buttons with icons
buttons work fine with no icons, but bump the text down a line with icons. i am using firefox 3.6.10
Autocomplete-enabled field not submitting when pressing enter
Hi everybody, I have a search field on which I activate the Jquery UI autocomplete (which I find wonderful by the way). When no suggestions are available, pressing the enter key does submit the form, but this ain't the case when suggestions ARE available. I press the enter key and nothing is happening. Note that if a select a suggestion, this works, but it should work too when you want to search/submit with the value you entered without selecting any autocomplete suggestions. If you want to see the
[jquery ui css]61 errors
Hi, i'm doing the process of validate various aspect of a site that makes large use of jquery, jquery-ui and so on. I was quite surprised to see a lot of errors during the validation of jquery-ui css. I compared it to a standard theme roller theme and i found that w3c css validator reports 61 errors on jquery-ui base theme. jquery-ui base theme validation I really think that this should be solved...
Strange bug of jQuery UI Dialog in FireFox.
Hello jQuery UI team, I found the very strange bug in my FireFox browser when i used the jQuery UI Dialog component. Please look at the bottom picture that show the empty white are in dialog. Any solution to fix this? Regards: Sag-e-Attar Junaid Atari http://blacksmoke.plutohost.net/
Cycle Plugin IE7 Crash Bug
The cycle plugin crashes IE7 100% of the time in the following situation: Set up an element to be a slideshow with the cycle plugin Create an element to show/hide the slideshow on click Load the page and click the toggle before the slideshow transitions Wait for the amount of time it takes to transition the slide Click the toggle again and IE7 crashes, most of the time without any error at all, it just silently closes the browser completely. Using jQuery version 1.4.2 and the latest cycle plugin.
When several $(document).ready functions are called, and one contains a JavaScript error, jQuery stops processing the rest of the queue
I searched all around the forums and the Internet in general and could not find this topic. It could be that the keywords just don't lend to good searchability. We had a bug that was hard to find. On some pages our $(document).ready functions were firing and on some only a few were firing. Our pages are on an enterprise site and several of the loaded scripts use the $(document).ready function. This creates a queue of functions that are fired. It was found that on these "odd" pages we had forgotten
Failing dialog unit tests in IE6
Hi, I'm finding that 4 of the unit tests for dialog are failing in IE6 (in the master branch as of 2010-10-05). Do you still support IE 6 as a grade 1 browser? 40: dialog: options: position, right bottom on window (1, 1, 2) undefined, expected: 953 undefined, expected: 989 result: 974, diff: 989 974 41: dialog: options: position, right bottom on window w/array (1, 1, 2) undefined, expected: 953 undefined, expected: 1004 result: 989, diff: 1004 989 43: dialog: options: position, right bottom at right
Opera and 'select' value changes after DOM manipulation
Hi, I have made a quick test page to show a problem - http://dev.fancybox.net/opera_select_test/ Summary - if page has 'select' element with default selected option and user changes then after DOM manipulation this new value is lost. Janis
IE 8(IE7) Bug with themeroller farbtastic
Hey All, I was implementing a popup farbtastic color picker much like there is in themeroller. I had a bug in my IE where clicking on the color wheel or in the center square would cause the thing to disappear(from my body.click or colorpicker.blur event). I figured id see how themeroller does it, and notice you had the same problem. Instead of (ala themeroller): $('body').click(function (e) { // //ie7 thinks were clicking on nothing when we click on the color picker... $('div.picker-on').removeClass('picker-on');
BlockUI Ignores the Width and Height CSS when theme = true
I have the following code: $.blockUI({ css: { width: blockwindow_width + "px", height: blockwindow_height + "px", top: ($(window).height() - blockwindow_height) /2 + 'px', left: ($(window).width() - blockwindow_width) /2 + 'px', }, message: $('#domMessage'), theme: false, }); which works as expected, with a big centered div popping up in the middle of the screen, but if I turn theme to 'true' it all of
slideUp() -slideDown(). What's wrong with this???
Hi, In my page I have several of the blocks below: <div class="bookcaptionSwitch">Book caption</div> <div class="bookcaption"> <p>Text text text. Text text text</div> </div> [...] This is my JQuery code: function init(){ $(".bookcaptionSwitch").css("cursor","pointer"); $(".bookcaption p").slideUp(); $(".bookcaptionSwitch").mouseover(function({$(this).css("color","red");$(this).next("bookcaption").slideDown();}) $(".bookcaptionSwitch").mouseout(function(){$(this).css("color","");$(this).next(".bookcaption").slideUp();})
.draggable in Firefox gives bizarre positioning on drag
Hi folks On testing a draggable, simple div show below, Chrome works as intended, Firefox on the other hand positions the element while dragging above and around the central div on my page, as though it hasn't attached it properly to the body of the page or its position is way off. $('#bookmarks').draggable({ helper : 'clone', containment : 'body', appendTo : 'body' });I have tried attaching it to the main div wrapper, other divs by name, by id and by element - but the results are pretty much the
Jquery accordion plugin not working with IE7
I've been trying to implement an accordion script in conjunction with prettyPhoto, a lightbox alternative, and although it works fine in Firefox & Chrome, IE is of course, not happy, and my site degrades horribly! Please help me debug this one. Thanks alot. Reference url: http://www.vincentcimo.com/ieindex.html
Using tabs makes combobox to hide on the first tab
Hello everyone, I'm using tabs from jquery ui to place several tabs on a page. On each tab I've simple html input and select. I've noticed that in all the different pages I've this schema I've problems while visualizing the first tab, but just the first. The problem is that I click the dropdown button to show the html select options, and it looks like it shows but something is hidding it, it just show like 3pixels line under the control. I've check accurately the tags to be sure I didn't make any
JQuery Cycle Plugin Page Error on IE7
Hi Im using the JQuery Cycle Plugin http://jquery.malsup.com/cycle/ It works fine on Safari and Firefox, and it does work fine on IE7 but when the page loads up i see this everytime: Any ideas?
Tabs loaded in .load()
Hello all, I have a problem. I'm trying to load tabs inside tabs. The problem is that the tabs inside the tabs is loaded using the .load() function. So each tab is loaded AJAX wise. To illustrate this, I took a screenshot as that explains my problem better. So these tabs are taken from the page (say) page.php. These tabs generate fine. When "Fastest laps" is pressed, this code is generated on page.php: function updateFastestLaps() { $("#tabFastestLaps").load("include_my_session_race_fastestlaps.php?season_id="+season_id+"&division_id="+division_id+"&track_id="+track_id+"&race_type="+race_type+"&week_id="+week_id+"&lap_id="+lap,
lightbox conflict error on page lightbox not working
Hello, I have a problem. When I put the java script of lightbox 2 in my head, it gives an error on the page en it will not open the lightbox. It only opens a page with an image. Can anybody help me with this problem. I looked everywhere but I can't find it, and my knowledge of java is zero....:-). Thanks for any response! My site is: www.nageln-haren.com My head looks like this: <head> <script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js?load=effects,builder"
ajax POST to MS Webservice
Hi, i have a problem. I have an ajax call to a webservice, and it works. Now I try to set parameters, and it donsn't work anymore. I try it with parameters in data and without. The Webservice will only be called, if the webservice has no parameters. I have testet the webservice in the visual studio (2005), and it works. Can anyone help me? $("input.ajaxbtnPlanAdminFreigabe").click(function(){ $.ajax({ type: "POST" ,contentType: "application/json;
Images in UI demos are not shown
I was just looking at the jQuery UI demos and discovered that the images are not shown. I don't mean the theme images but other images like http://jqueryui.com/demos/button/#toolbar
Form action not getting set correctly in IE7 when using the form plugin to do a file upload
Hi, I am using the jquery.form.js plugin's ajaxSubmit method and it works great for FF and IE8. It is not working for IE7. I'm relatively new to jQuery and javascript as well as posting so my apologies if my etiquette or explanation is poor. I have a JSP page which uploads a file via a file input element. When the user clicks submit, an ajax call is made to a controller, which does some validation on the file data being uploaded. If OK, then a json response is returned and the JSP page then automatically
Safari issue displaying/hiding content
I have enabled a hover() event on a DIV that includes an H2 element that is always displayed and a child DIV that needs to be shown/hidden. This code works wonderfully on Firefox and IE. However, it's not working in Safari (I have not tested Opera or Chrome yet) Here's my (very simple) code: jQuery("div.category-text").css("display","none"); jQuery("div.category-item").hover( function() { /* jQuery(this).find("div.category-text").stop(true, true).show("slow"); */ jQuery(this).find("div.category-text").css("display",
Potential issue with jquery.load in IE 8 ?
I have started developing a website, which implements loading on demand of sections in the user profile using Jquery.load(). Have a look at: http://www.creativelunch.com/atesore/user/profile/rwap_software This works fine in Opera, Google Chrome, Firefox. However, in Internet Explorer v8 (including under the compatability mode), I get an "undefined" error when the .load() function ends The section of code (in global.js) which causes the issue is: //On Click Event $("ul.userTagList li").live('click',function()
has() assumes default DOM and context?
In both 1.4.2 and the latest nightly build, the implementation of has() looks like this: has: function( target ) { var targets = jQuery( target ); return this.filter(function() { for ( var i = 0, l = targets.length; i < l; i++ ) { if ( jQuery.contains( this, targets[i] ) ) { return true; } } }); }, Doesn't the first line ("var targets = jQuery( target );") mean that the has() method will not work when operating against anything but the DOM of
Tablesorter plugin not working with data loaded by javascript
Hi, I was trying to get the tablesorter plugin working. I'm not working with flat data, but with database-data appended to a div by javascript. The tablesorter plugin is working with flat HTML data, but no with that dynamic data. Anyone with ideas to handle this? Best regards, Lars Grijsen
slider position problem after insert in a dialog, in IE7
Hello, I try to insert a slider in a dialog, but when I scroll, the slider stays in a fixed position. I saw in firebug the problem is that the slider have position relative and de dialog uses position absolute, this problem just happens in IE7, someone have a solution? I reinforce that problem is in the css Jqueryui and i don't know if i can solve via script Follows the code below thanks, Filipe Santana <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
treeview : collapse all / expand all problem
Hi! I'm using treeview in my application that supposed to display large amount of data and I've faced the problem with "collapse all"/"expand all" control - it takes a lot of time to open (or close) all treeview; sometimes I get this warning message : This is my code: function treeviewInit() { $("#tree").treeview({ animated: "fast", collapsed: true, persist: "location", control: "#sidetreecontrol", prerendered: false
Issue with .serialize() in IE8 (IE7 Compatibility mode)
I am using IE8 and when I serialize all the checkboxes in my form ( $("#myform input:checkbox").serialize() ), I get the correct results. When I perform the same function in IE8 Compatibility mode (IE7), the last checkbox is truncated. IE8 Result 0=on&1=on&2=on&3=on&4=on&5=on&6=on&7=on&8=on&9=on&10=on&11=on&12=on&13=on&14=on &15=on&16=on&17=on&18=on&19=on&20=on&21=on&22=on&23=on IE8 Compatiblity Mode (IE7) Result 0=on&1=on&2=on&3=on&4=on&5=on&6=on&7=on&8=on&9=on&10=on&11=on&12=on&13=on&14=on &15=on&16=on&17=on&18=on&19=on&20=on&21=on&22=on
bug on jQuery.clone(true) ?
Hi, just try to execute this simple code : Array.prototype.test=function(){alert('test')}; var elt=jQuery('<div>').click(jQuery.noop).clone(true); elt.click(); When you trigger the 'click' event on the cloned element, the 'test' method is executed ! testing in jsbin : http://jsbin.com/urite/2 It seems that any method that has been added to the 'Array' object (before cloning, of course) will be executed when any event is triggered. This is not the case if you bind the event after cloning : Array.prototype.test=function(){alert('test')};
Modal Dialog IE onclick problem
Hi, There is a problem with the new jQueryUI 1.8.1 & jQuery 1.4.2 releases regarding the Dialog widget. The problem occurs when I have an onclick event on a link and also a href. This only happens in Internet Explorer and only when the dialog is modal! e.g. <a id="testLink2" href="javascript:alert('href javascript');" onclick="alert('onclick event');return false;">Test Link 2</a>The onclick event is fired correctly (first), however, the href is also fired afterwards (even though I have a return false;).
submit() does not always trigger the live or bound handler
I have this boiled down to the following code: http://gist.github.com/597180 I have two text inputs in a form, and a keydown handler to catch the arrow keys. When the focus is lost on an input, it is supposed to call the submit handler on the form. When I use the tab key, it works as expected, and calls my submit handler. However, when I use the arrow keys, it submits the form and goes to the action url, not running the alert in my custom submit handler. It's as if it either loses the bound submit
jQuery.1.4.2.js needs patch at line 1919
I had to replace line 1919-1922 in my local copy of jQuery.1.4.2.js to prevent IE 8 javascript errors when navigating away from a page using window.location.href = 'blah blah': OLD CODE ======================================================== events = jQuery.data(this, "events"); if (events) { handlers = events[event.type]; }; NEW CODE ======================================================== try { events = jQuery.data(this,
Executing JavaScript after wrap method
Hello. I just have a problem with the wrap method of jQuery. Look at this markup: <div id="mainDiv"> <div id="innerDiv"> </div> <script type="text/javascript"> $(document).ready(function() { alert('test'); }); </script> </div> <span onclick="$('#mainDiv').wrap('<div />');">say test</span> When I insert it on my page I had very interesting results. It says 'test' when page is loaded and it is fine. Click on 'say test' span and you'll see
Accessing Jquery Tab content
I have implemented a jquery tab. I am displaying a form with some fields in the tab. I want to acess those fields through javascript. Please help. I am new to jquery. Thanks ketan
Next Page