Set contentType for http request is ignored by explorer
I’m writing some code to get and update some content via a rest webservice. Here is the example of the code for http put request. $.ajax({ type: "PUT", processData: false, url: resourceUrl, data: xmlDoc, dataType: "xml", contentType: "application/xml", success: function() { .... Internet explorer request: PUT /xxx/yyy/1 HTTP/1.1 Content-Type: text/xml; charset=UTF-8 Accept-Language: da Accept: application/xml, text/xml, */* Accept-Encoding: gzip, deflate
Subforum Feeds
Open different subforum feeds, and you will see that those are all equal: http://forum.jquery.com/getting-started/feed http://forum.jquery.com/using-jquery/feed http://forum.jquery.com/developing-jquery-core/feed
Take me out of watch the Getting Started form
Hello, I do not wish to end my account with this form. But the emails are getting to be to much. I tried to click on the "unwatch the Getting Started Link" but I get a 404 page. I tried to call support there is none. Please stop the emails.
draggable/droppable scope bug
Apparently there is a bug in the implementation for the scope option in draggables and droppables. I couldn't get scope to behave so I asked a question on Stackoverflow and got a very helpful and informative response from user Simen Echholt. I'm not a jQuery contributer, nor am I familiar with jQuery's internals, so I don't know if this is a known bug or not, but I'm posting here just in case. My original example is on jsbin here, and Simen's edit with his jQuery extension to fix the issue is here.
offset() and webkit?
I have a problem with webkit-browsers. There is a canvas on my page and every time a user clicks on it (and while holding the mouse button down) a new <img> is appended to the body. Now the user should be able (still while holding the mouse button down) to drag this newly created image around. As it did not work with .draggable(), I did it with .mousemove() and .mouseout(): $(this.canvas) .mousedown( $.proxy( function(event) { <...>
HTML expression throwing an exception in latest version of jQuery, but not in earlier one
The expression in red works fine in jQuery 1.2.6 but does not in 1.4.2. Can someone assist? jQuery("#menu_sample > li > a[@class=expanded]").find("+ ul").slideToggle("medium"); All the child li items for the following HTML should display: < li><a class="expanded" href="#">Weather</a><ul> (li items here) Screenshot of exception attached. Update: the following jQuery code solved the problem: jQuery("#menu_sample > li > a").filter('[class=expanded]').find("+ ul").slideToggle("medium"); Did
Modal not transparent
Hi, when using UI dialog with modal: true the overlay is not transparent on one of my pages. On the page there is several div-tags with the css-class holiday: .holiday { background-color: #ccc; border-right: solid 1px #888; border-bottom: solid 1px #888; margin: 5px 0px 0px 0px; padding: 10px; } if I remove the padding property on this class the modal is transparent. Any ideas what could cause this? This only occurs in IE8, in Chrome and FF everything is working fine. I have a lot of
Datepicker modifying the URL
I have a model dialog that allows the user to enter a date. Here is a simplified version http://jsbin.com/ohisa3/1#weston If I open this page is IE8 and select a date from the date picker. The URL changes from http://jsbin.com/ohisa3/1#weston to http://jsbin.com/ohisa3/1# is there a way to stop the datepicker from changing the URL?
slideToggle() method (jquery 1.4.2) and Prototype (Array length must be assigned a finite positive number)
I hope someone can shed some on light on the following issue. I have a page which includes the Prototype library. Also on this page is a collapsible menu, which comes from http://www.lousyllama.com/sandbox/collapsible-menu. The first menu at left is in use. I had to modify the original jQuery code to get the collapsible menu to work on jQuery 1.4.2. Problem: An exception is being thrown (by the jQuery framework?): Line: 464 Error: Array length must be assigned a finite positive number
Transform BUG in $(html_String)
Look this: +function(){ var s = '<h1><em class="a_b c" style="min-height:50px;_height:50px;">x</em></h1>'; var d = $(s); alert(d.html()); }(); In Firefox, the result is: <em class="a_b c" style="min-height: 50px;">x</em> "_height:50px;" was lost (At here, we thought it is good, because FF don't know it) In IE, the result is: <EM class="a_b c" style="MIN-HEIGHT: 50px; HEIGHT: 50px">x</EM> "_height:50px;" transformed to "HEIGHT: 50px;" (It make a bad result that we can not use IE css hack inline)
JQuery Model Dialog is showing scroll bar even though the dialog size is small.
I opened your example in IE 8. The example i opened is from the below URL http://jqueryui.com/demos/dialog/modal.html It was showing me scroll bars, please check the attachment associated. The same kind of problem i am facing in my example. This is happened after using JQuery 1.8.2 version. Please Let me know, if you have any solution for this issue.
superfish submenu in IE8 has Gap
I can't seem to figure out how to fix the gap in the sub submenu without affecting other browsers. IE8 keeps messing it up but if I change the superfish.css to whats below it messes up all other browsers. ul.sf-menuli li:hover ul, ul.sf-menuli li.sfHover ul { left: 9.5em; /* match ul width */ IF I CHG THIS TO 9.5em messes up other browsers top: 0; }
Datepicker beforeShowDay not working
Hello to all, I am having problems with beforeShowDay event in Datepicker. In IE the error is: '0' is null or not an object IN FF the error is: F is undefined Below is a very simple example that reproduces the problem. Let me know if you need me to post it somewhere on the web, but its just a simple and straight-forward HTML file. Thanks is advance for any help provided. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta
validate is not a function
can some one help me whit this? http://cancun-app.heroku.com/contact-us gives me an error $("#contactForm").validate is not a function $(document).ready(function(){ $('#contactForm').validate(); });
unload method fails in IE
I have created a small page that gives info about the unload method and Microsoft's onbeforeunlaod property... it is located here: http://vidasp.net/jQuery-unload.html The support for unload() in Firefox, Chrome and Safari is almost 100%. Opera doesn't seem to like scripts being executed on unload at all... The main issue here is that unlaod() is badly supported in IE8. Only reloading the page and closing the browser window causes unload() to execute. The other reasons (which are far more important)
It works on Firefox and don't load images correctly on Safari 5.
Hi, can someone address me how to check that behaviour of a gallery script ? it works on Firefox but don't load thumbnails on Safari 5. http://www.danielepellegrini.com/album.php?alb=362&rac=49 this is the GalleryView Jquery gallery http://www.danielepellegrini.com/galleryview/jquery.galleryview-1.1.js thanks a lot!
$.remove() memory leak
Hey guys I've searched the internet for days now and have found a lot of articles and discussions about memory leaks in earlier versions of jQuery but nothing about v1.4.2. I'm facing the following problem: - I'm writing a web app that has a search engine which builds a table with the results. - The table sometimes holds over 1000 results (max tested: 1200). - Building the table (ajax) works perfectly and raises the memory usage in some MBs but everything's normal. - When I delete the table using
jQuery 1.4.2 $.ajax crashes IE6/7
Hello there! I'm having a really hard time debugging one of our latest reported bugs. The problem occurs "randomly", not on every page load, sometimes I can "click" around for a minute or two before IE6/7 crashes. By crash I mean that the IE-window shuts down and I get the option to send the crash info to Microsoft. In FF, Chrome, Safari, IE8 everything is working perfectly. What the page does is issuing 2 AJAX Jsonp calls and building some menus with the data returned. The data brought back can
Themes with Accordion
I'm not sure if this is a design flaw or how it is supposed to be, but some of the themes have an extended title bar. 2 examples I noticed where with the Eggplant theme and the Dot Luv http://jqueryui.com/themeroller/#ffDefault=Lucida+Grande,+Lucida+Sans,+Arial,+sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=30273a&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=25&borderColorHeader=231d2b&fcHeader=ffffff&iconColorHeader=a8a3ae&bgColorContent=3d3644&bgTextureContent=12_gloss_wave.png&bgImgOpacityContent=30&borderColorContent=7e7783&fcContent=ffffff&iconColorContent=ffffff&bgColorDefault=dcd9de&bgTextureDefault=03_highlight_soft.png&bgImgOpacityDefault=100&borderColorDefault=dcd9de&fcDefault=665874&iconColorDefault=8d78a5&bgColorHover=eae6ea&bgTextureHover=03_highlight_soft.png&bgImgOpacityHover=100&borderColorHover=d1c5d8&fcHover=734d99&iconColorHover=734d99&bgColorActive=5f5964&bgTextureActive=03_highlight_soft.png&bgImgOpacityActive=45&borderColorActive=7e7783&fcActive=ffffff&iconColorActive=454545&bgColorHighlight=fafafa&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=ffdb1f&fcHighlight=333333&iconColorHighlight=8d78a5&bgColorError=994d53&bgTextureError=01_flat.png&bgImgOpacityError=55&borderColorError=994d53&fcError=ffffff&iconColorError=ebccce&bgColorOverlay=eeeeee&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=80&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=60&thicknessShadow=4px&offsetTopShadow=-4px&offsetLeftShadow=-4px&cornerRadiusShadow=0px
Strange issue when using filter( function() { } )
Hey Everyone, I am having a strange issue when using a function in .filter(), I've pasted it below: $( "a" ).filter( function() { return $( this ).attr( "href" ).indexOf( "#" ) == 0; } ).live( "click", function( e ) { alert('d'); } ); When running the above, in Chrome I get: Uncaught Syntax error, unrecognized expression: }) Am I missing something here? A little stumped right now. Cheers very much
option/select dblclick works in chrome/IE but not safari/firefox
Updated post: http://sky-walker.net/temp/dblclicktest2.htm I've simplified the problem area: $('.statusselect').dblclick(function() { alert("double-clicked"); }); So anyway chrome/IE can detect the double-click within the sub-element (the option/select), safari can sort of detect it (but you need to click 5 times instead of 2) and firefox doesn't detect it at all... (original post) ============================================ http://sky-walker.net/temp/dblclicktest.html In this example,
Delete attachment not possible
I try to delete the attachment on my post in http://forum.jquery.com/topic/how-to-prevent-draggables-to-move-through-each-other (I made the example in jsbin) but the loadingimage stays on the screen and the attachment is not deleted.
Another jQuery Ajax POST problem with Firefox
Hello, I'm stuck here. I built a pretty simple Ajax request which needs to send some data to the server and put the resulting HTML in a div. Unforunately, I need to POST the data. I used .post() and it worked fine ... *on Chrome and Opera!* ... on Firefox no data gets posted even though firebug shows the data in it's console. I ended up building the longest possible request, just to try all the options. No luck. As soon as I POST anything, Firefox won't receive the data. If this was a Firefox issue,
Help Sought To Understand jQuery Further, For What I'm Attempting To Do Please?
Hi All, Complete jQuery newbie here, so please go easy with me... I'm in no way professional at coding or anything but manage to get by, by asking in communities when I'm not sure or hitting my head against a brick wall with things, as is happening now. I have managed to add a jQuery lightbox to my fathers website for him, finally after ages got it to show the images, pop them up to the front of the screen etc and I'm happy as larry with all that. However, I am trying to add a rating script in to
bug with modal dialog
When the focus exits the dialog and enter again on the document it set on the first element focusable, and don't go to the second neither go back, it remains locked. Also, the focus order on buttons of the dialog are inverted.
IE8 live() broken when using "HTML5" drag and drop events (like dragend and drop)
When using bind() everything works as expected, but with live() it doesn't. This would be great to land in 1.4.3! Ticket: http://dev.jquery.com/ticket/6578 Test case: http://homepage.mac.com/matias/jquery/bug-live-drop-ie.html
Problem with draggable/droppable when droppables are inside scrollable div
Hi, I have droppable elements inside a DIV. This is a scrollable DIV as lot of droppable elememnts (ui) are there. The drop accept begins even after a draggable item is dropped below this scrolling DIV. Note that, item is dropped even no droppable is visible (since, they are actually in DIV with scrollbar). Can anybody please look into this problem? Sample is there at, http://jsbin.com/asatu3/3 In above sample, drag (Record 1, Record 2...) from left list to the right list which is scrollable. This
Issue with :text selector
I'm working with HTML5 input attributes, particularly email and I've spotted an inconsistency between Safari and Chrome vs Firefox and IE. In FF and IE, using the :text selector selects both text and email inputs. In Safari and Chrome, only text inputs are selected. I tested in Safari 5, Chrome 5.03, FF 3.6.3 (all on OS X) and IE8. Here is my sample code: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Testing HTML5 email tags</title> <script type="text/javascript"
Themeroller download not working on 1.7.3
Normal File does not exist: /srv/jqueryui.com/htdocs/repository/tags/legacy/themes/base/ui.selectable.css (themes/base/ui.selectable.css) Absolute File does not exist: /srv/jqueryui.com/htdocs/repository/cache/theme/1bdf93b3cccebd0cf27b75493955da9f/development-bundle/themes/custom-theme/ui.selectable.css
Can't use themeroller
I've been trying to download a custom theme this morning and it isn't working. It keeps going to a text response page that says "Absolute file does not exist: srv/........." and it lists a lot of files that way. Here is my TR link: http://jqueryui.com/themeroller/#ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=033649&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=036564&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=B3C2C7&fcContent=222222&iconColorContent=222222&bgColorDefault=CDB380&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=000000&iconColorDefault=888888&bgColorHover=E8DDCB&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=ffffff&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=05_inset_soft.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
refresh problem in firefox (tabs inside dialog)
Hi! I posted this problem before, but got no response. Hopefully it's not inte the wrong forum... I have attached an image to explain the problem. The lower part of the image shows the same dialog as the upper, but after a refresh. Text gets shifted info the next element. In this case from the textfield into the button. Is this a bug, of is it me?
accessing $.data() of another window
it seems to be a problem if I need to access data() of the elements from another window, like for example $(anyElement,window.opener.document).data() which returns null when in fact there is some data actually stored. I heard that data is stored in the $.cache, which is window-related, so that's understandable, but how can I work around that? Certain plugins that use $.data no longer work correctly because of that. E.g., I can't use linkselect methods on linkselects located in the window.opener.document.
risizable alsoResize doesn't follow the grid
I use jquery-ui-1.8.1.custom.min, and that is my problem: Create resizable div#div1 with the follwing options : {grid: [34, 0], alsoResize: $('#div2'), handles: 'e, w'}; Now when I drag the edge (left or right) of div1 this div resizing fine - it's cling each 34px. But div2 resizing without clinging.. This is sad =(
UI Tabs Font Problem ...
The problem is: When I am using Tab Control, the text inside the control is very very big and not using default size and this is all Chinese char, but English or digital is small correctly, how can I solve this problem, I am just using in base.css, which is my web page default font size. body { font-size: 12px; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; }
UI Tabs - Tabs are getting mixed up/go blank
I'm using jQuery UI Tabs for the tabs on the following page: http://announcements.telegraph.co.uk/ The problem is that occassionally the tabs go blank (upon auto change). You can reproduce the issue in IE, FF, by randomly clicking the tabs in rapid succession*, so it appears to be a timing bug of sorts that messes up the tab state? After a bit of clicking you'll notice the tabs just display blank. Any thoughts appreciated. Simon
Another "missing ; before statement" problem, but other posts have not helped me any...
OK, I have searched the forums here, and I have Googled the problem and looked at two pages worth of answers, but that has done nothing much for me. I have a bare-bones template document as follows: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>New Document</title> <script type="text/javascript" src="jquery.js"></script> </head> <body> </body> </html> This is giving me the following: Error: missing ; before statement Source File: http://localhost/map/jquery.js
<ol> does not look right in forum posts
Look how ordered lists look in posts. It does not look right and there should be some css problem. one two threeLet's just test some <ul>s too: one two threeFor reference, I see this happening in Firefox 3.6.3, Windows XP, and here is screen shot (from this question).
problem prepending draggable helper in droppable drop event
I have a situation where I wanted to prepend the draggable's helper to a droppable target. The trick is that this draggable helper is a jquery object that I'm creating on the fly like so: $('<li>...</li>'). For some reason prepend won't insert this ui.helper object that I get in the droppable drop event. I've worked around this by simply recreating the element I want to insert inside the droppable drop event and prepending that rather than trying to prepend the ui.helper object. As far as I can
.css bug when supplying parameters...
Hi, This could be considered a tough bug, needing some sort of super expert help. I have multiple $(document).ready() blocks. One of them looks like this: $(document).ready(function () { var pos = $('.NavigationItemSelected').position(); var width = $('.NavigationItemSelected').width(); var lastpos = $('.NavigationItem').last().position(); $('#selected-nav').css({ 'left': (pos.left + "px"), 'display': 'block'
treeview - user seeing cut off text
Hello, We have been using jquery treeview with great success on various pages on our website for a while now, but we have one visitor that is complaining of text getting "cut off" in IE8, Chrome 4.1, and Firefox 3.6 on our Royal News page ( http://www.scranton.edu/royalnews ). His direct text is below: "I wanted to make you aware that the text in the expandable drop-down bullets in the General News, Faculty and Staff News, & Student News sections is being cut off and cannot be read. This has been
Next Page