• cannot remove 'tap' event handler

    Hi I faced a problem with 'tap' event. Steps to reproduce: Attach an 'tap' event handler to some element Remove attached handler by event name ('tap') or by namespace Attach new 'tap' event handler to the element Click on element Expected: second handler is invoked Actual: both old and new handlers are invoked Example: http://jsfiddle.net/W7P5r/ Here you can see, that after clicking on "click" button one cell is added to the grid, but after clicking on "tap" or "tap.namespace" button two cells are
  • Can't change/disable Draggable Containment after setting to parent

    MAY have actually found a bug here...     $(targetObject).draggable({         drag: function (e, ui) {             $("#rptSlideLayerEdits_ctl0" + layernum + "_tbXPos").val(theLeft);             $("#rptSlideLayerEdits_ctl0" + layernum + "_tbYPos").val(theTop);         },         stop: function (e, ui) {             saveLayer(currentLayerNumber);         },         containment: "parent"     });So, this is the code that sets up the draggable. I have a little lock icon, when you click it, it runs this
  • controlgroup's rounded corners change between 1.2.0 & 1.3.0 (beta and rc)

    nutshell:  in 1.2.0 you could have some "extraneous" div containers around inputs and labels and you'd still get rounded corners in controlgroups however, in 1.3.0 beta and rc : no rounded corners: example: my form framework outputs html like this: (any of the bold div containers break rounded corners) <div data-role="fieldcontain" >     <fieldset data-role="controlgroup">         <legend>Checkboxes!</legend>         <div class="some_extra_container">             <div class="some_extra_container">
  • Issues with jQM 1.3.0 and "listview" widget

    I just upgraded one of my apps to jQM 1.3.0 and the app immediately failed. The error: Uncaught TypeError: Cannot read property 'options' of undefined I am using a listview component in the broken page. When I remove the attribute data-role="listview", my app runs fine. Does anyone have similar issues? Thanks, --appcropolis
  • Dynamically Populating Select Control

    Hi, I have found problems with dynamically populating a select control, the simple logic I use works fine in standard JQuery but not in JQueryMobile.  The code is as follows:  <!DOCTYPE HTML> <html> <head>     <title>Select Test</title>     <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a2/jquery.mobile-1.0a2.min.css"/>     <script src="http://code.jquery.com/jquery-1.4.4.min.js"></script>     <script src="http://code.jquery.com/mobile/1.0a2/jquery.mobile-1.0a2.min.js"></script>    
  • Errors in jQuery Validation Plugin v1.10.0

    additional-methods.js v1.10.0 has errors in it. Safari web inspector reports 1 error. JSLint reports 51 errors. When I include the plugin as a separate file, it still shows errors, but works. But when I combine all JS files into one, including additional-methods.js breaks the rest of my code. Plugin page: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ File in question: http://ajax.aspnetcdn.com/ajax/jquery.validate/1.10.0/additional-methods.js Latest version is dated 9/7/2012. Wondering
  • Error in Eclipse environment with jQuery 1.9.0 (and 1.8.3)

    Hi All, I just added the production (min) version 1.9.0 of jQuery to my Eclipse environment and it is generating an error.  I'm not seeing the error in the development versions.  Here's the error message: Syntax error, insert ")" to complete PrimaryNoNewArray I can turn off error reporting for that file in Eclipse but I was hoping to avoid that if possible.  Has anyone else seen this problem? Thanks! Kelly
  • Accordion Not Rendering

    I get on this error Uncaught TypeError: Object [object Object] has no method 'accordion' whenever I run my jquery accordion. I am not sure what is causing this error.  I can run the exact same code in a seperate html file.  I am wondering exactly what could cause this error.  I have tried removing other jquery plugins and jquery code, and still the error occurs.  Can anyone offer me advice on how to troubleshoot?
  • navbar width issue when in header and has >= 3 buttons

    There's an issue in the JQM css that causes the navbar to exceed the width of the rest of the page on mobile devices when the navbar is in the header and contains 3 or more buttons. This results in a thin white line to the right of the page when viewed on a mobile device. I fixed it by canging ".ui-navbar ul" overflow from visible to hidden (line 1920 of jquery.mobile-1.3.0-beta.1.css). It would, I think, be a good idea for this change to be made in the next release. <!DOCTYPE html> <html> <head>
  • MVC Jquery Validation not clear after jquery 1.9

    Using MVC 4, .net 4.5, jquery 1.9.0, jquery.validate, jquery.validate.unobtrusive When I have an input using validation the class="input-validation-error" does not clear after the erroring condition is fixed. I tested this with the datepicker and with a regular expression check. I uninstalled jquery 1.9.0 and installed 1.8.x and it works. I noticed that sometimes inputs have class's of input-validation-error and sometimes of field-validation-error. I somewhat suspect the .removeClass is being called
  • jQuery.Alerts.js breaks with the latest version of jQuery 1.9

    jQuery.Alerts.js (which has methods like jAlert, jConfirm) breaks with the latest version of jQuery 1.9. Errors like $.browser is undefined is being emitted on page load. Any workarounds for the same?
  • jQueryUI draggable helper ok in IE, wrong position in Chrome, Safari

    I am struggling in understanding why this JSFiddle I set up with Isotope http://jsfiddle.net/PpAdu/ (basically I set all elements as draggable) it is functioning right under IE while when dragging in Chrome or Safari the helper position retains the distance from the first element. I.e. if you drag whichever element in IE it will be ok, while in Webkit only the first top-left element is correctly dragged...the other show the helper at a distance equal to the distance from the first block. Can you
  • Input text events for Firefox on Android

    I use an input text catching the "keyup" event : $("#myinput").on("keyup", function(event) { var val = $(event.currentTarget).val(); ... }); So I get a new typed value at every character typed, including backspace ou CR (that I can test by : if (event.keyCode == 13) ...) Eveything works fine on all browsers I tested ... except one : Aurora (Firefox) browser on Android (4.0) running on my tab (but Chrome works well).  The only event that I may catch is "change" but the application behaviour is really
  • jquery zabbix server reacheable through google search

    Found this link : https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0CEoQFjAC&url=http%3A%2F%2Fcitadel.jquery.com%2Fzabbix%2Fevents.php%3Ftriggerid%3D13355%26sid%3Db3d02d73dac33375&ei=vuUIUanoFonm9AS3uICgCA&usg=AFQjCNEGUe4tOn9hNvJontJT4iZk3UOgGw&bvm=bv.41642243,d.eWU&cad=rjaA
  • Self submitting ajax form in dialog fail

    Hello It seems that if there is a self submitting form in dialog with POST as method, there will be no post request when submitting the form. How to reproduce:  - Create a dialog  - Create a form inside the dialog, with method=post, and action to same page that form itself is (self-submitting). - Submit the form - You will notice that there will be NO post to the server, there will happen "pagebeforechange" etc. events, but no animations etc. visible change to user occur.
  • Problem in Opera and Mozilla

    Hi everyone, i'm create an website with a jquery animation. Using div's and backgrounds movements to create that animation, I use this code to move the background: $('#animator-1').animate({'background-position-x':'-=1000px'}, 5000, 'linear'); This code are executed prefectly in IE and Chrome, but in mozilla and opera are stopped, but other code: $('#container').animate({'right':'100%'},'slow'); Dont have problems, someone can help me?
  • Dragging problem in sortable plugin

    Hi, I am using sortable plugin.  I am setting tr as sortable .Inside my tr > td has textarea and input fields. If i dragged the tr > td  which contains text, its working fine. But, if i try to drag a tr > td which contains textarea or input elements, tr is not dragging. Please help me any one. Thanks in advance  <table>       <tr class="ui-state-default">             <td>text content</td>             <td><input type="text"/></td>       </tr>       <tr class="ui-state-default">             <td>text
  • Maintain List-view Position using iOS 4.3

    Hi! I'm building an iPhone-app with Phonegap and jQuery Mobile. I have a list-view with multiple entries, linking to a detail-site for every entry. With iOS > 4.3, when i navigate back from detail-page to list-view, i get back to the old position, where the entry was choosen. With iOS 4.3 that doesn't works. (I also had a problem with fixed header and iOS 4.3 but solved it with the polyfill fix) Is there a workaround for this problem too? Thank you!
  • I have one problem when I combine three jQuery plugins on my webpage

    When I combine my three jQuery plugins, two of them work but the navigation bar's animation does not work. All support is greatly appreciated. Thanks (I am a novice also) Here is my code: <!-- Nav Bar2 --> <link href="css/webwidget_menu_glide.css" rel="stylesheet" type="text/css"></link> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/webwidget_menu_glide.js"></script>  <script type="text/javascript">        //create this naming for Jquery
  • plugins not working

    every time that i use the "$.get" or "$.post" my plugins stop working and i get this error Error: TypeError: $(...).tablesorter is not a function Source File: http://localhost/test.html Line: 69 but all the calls to those plugins are made before the $.get they work
  • The Enter Key Says "Return" instead of "Search" When Search Input Field Has Focus.

    Hello there, Is there is a way to make the return label in iPad2 virtual keypad change from "return" to "search" when using a search input field. I have been able to get this to behave appropriately for iPad3 by prefixing "search_" to the name of the search input field, and setting the its id and its label for attributes to the same string respectively. New suggestions to achieve the same in iPad2 functionality will be greatly appreciated. Thanks.
  • tabs() Panel not found

    Hi there, I have a strange problem initing tabs on a container. While everything works on different sites there is just one site things get broken: tabs() does not find the preloaded panel (after DOMDocumentLoaded) and falls into ajax mode. First I was thinking that I have made a name or markup mistake so I have tried the simplest: the demo - but with the same result. I don't unterstand this issue. Everything works fine except this - the jQuery-selector also finds the container manually. It is a
  • Duplicate of my plugin appearing on new site and doesn't update version

    I changed the name and url of my plugin (from deferrize to defer) shortly after it got included in the new plugins site, and shortly after that I also released a new version. At the moment there are 2 duplicate entries in the plugin site http://plugins.jquery.com/?s=defer, one 'Deferrize' and one 'Defer', and neither are getting updated to the latest plugin version. Can anybody help me with getting rid of the duplicate entry (whose existence I guess is maybe rendering the site unable to properly
  • Native select with data-mini='true' does not work on Samsung Galaxy Tab SPH-P500

    Inside my PhoneGap / jQuery Mobile 1.1.1 application, I am using the following HTML to create a select menu: <div data-role="fieldcontain"> <select id="tasksMenuSelect" translate="yes" data-native-menu="true" data-mini="true" data-theme="c"> </select> </div> On the Motorola Xyboard running Android 4.0.4 / Browser 4.0.4-51, the native select menu displays properly when it is tapped.  On the Samsung Galaxy Tab SPH-P500 running Android 4.0.4 / Browser 4.0.4-P500VPALI6, tapping on the select displays
  • Is jQuery UI Themeroller broken?

    I have tried to download a theme created by someone else, a theme created by myself (just to check that the URL I received was not broken), and a theme from the Gallery. The only one that works is a theme from the Gallery - all the others return a "504 Gateway Time-out" error message. Is anyone aware of this problem? Has anyone else actually SEEN this problem? Thanks
  • inset doesn't work?

    For some weird reason data-inset="false" doesn't work in collapsibles and in collapsible sets. Anyone know why?
  • Jquery Mobile adding # for form submit

    So I have a form that is submitting from  https://www.example.com/signup.html When I push submit, it is going to the url https://www.example.com/signup.html#/signup/5699532C91F819560BE423E20/postdata. It should be submitting to https://www.example.com/signup/5699532C91F819560BE423E20/postdata when I disable jquery mobile, the signup form works great and I have no issues.  It is only wwith jquery mobile I am having this issue. All help would be appreciated.
  • page vibration while dragging on IE7

    Hi guys, i have the problem in the title in this page fanta. It perfectly works in chrome, FF, IE9 and IE9 in compatibiity mode....but in IE7 the page shakes during dragging the elements on the left. Can someone give me a suggestion? thanks in advance 
  • Resizable Inside Resizable frame border issues

    Hi everyone! I would like to report an issue (I think it is one) about jQuery.UI.resizable. If you use a resizable(son) inside a resizable (parent) , If you resize the son to the border of the parent, you cannot resize it anymore. The parent container receive the event and not the child. You can test it here : http://jsfiddle.net/Br5HM/1/ Thanks for reading!
  • target selector does not work ? $("p:target")

    I tried your example for the target selector, and it does not work with Chrome 23.0.1271.97 (under Xubuntu 12.10 64 bits) for a <p id="foo"></p> into my page, if I call my http://localhost/sample.html#foo page, the $("p:target").length has the value 0 Works Firefox, but not with Chrome. Test was made with Ubuntu - Chrome version 23.0.1271.97 The full sample : <!doctype html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery target selector
  • issue with wrap -- Bug or Feature

    In a small script I am writing I do the following: find a div with id = 'xxx' add a button to that div then wrap that div in a container div. I can separately add the button with no problem -- results show in page. I can separately add the wrapper -- results show in the page. However, if I do the add button followed by the wrap, the button is missing. It looks like the wrap is accessing the div the way it was before I dynamically added the button. I can make this work by wrapping the div first, then
  • problem

    I work on jquery and i need help to resolve this problem. I added to wordpress 5 search bars and i used the same selectors and i put it to jquery and 1st searchbar does it what i want and anothers doesnt nothing. 1st one if does event ... the event is in the same time applicated to others. help 
  • http://api.jquery.com/ search does not work (jan 19)

    I don't know where to post this and I can't seem to find a 'contact us' link or 'feedback' anywhere on the site. The search box at the top of the 'http://api.jquery.com/' page does not seem to work. I am using Linux Mint 13 and Firefox 17.01.
  • problem with scroll/touch events, page scrolling, & fixed overlay div

    Im new to jqm. Ive run into an issue with page scrolling/touch events on android/mobile browser. Here's my demo page It's best to view it on a mobile device in order to clearly see the issue that Im describing... Im running it on a galaxy S3, jellybean 4.1.1, and Ive tried it both on chrome and the stock samsung browser. background: In my jqm page layout, I have a 'collapsible, fixed footer div / toolbar' that Im creating 'from scratch' / Im not using jqm or including it within a jqm 'page' div (there
  • $('#item').bind("change keyup",function() not working on data-native-menu="false"

    Hello, $('#item').bind("change keyup",function()  is not working, if a select element has the attribute data-native-menu="false". How can this be done? Thanks! Leo
  • BUG? IE9 jQuery UI 1.10 .position()

    I'm having a terrible time trying to position a DIV using jQueryUI 1.10 in IE9. You can see in the screenshot that IE9 does the opposite of what I'm asking for. Chrome displays as expected     <div id="personPopupContainer" style="position: absolute; z-index: 255; display: block;"> <div id="personPopupContent">     </div>         </div> $("#personPopupContainer").position(                                 {                                     my: "left top",                                     at:
  • http://jqueryui.com/tabs/#manipulation doesn't work with jquery-1.9.0.js

    Try the http://jqueryui.com/tabs/#manipulation sources (So far so good) Replace the  <script src="http://code.jquery.com/jquery-1.8.3.js"></script> with <script src="http://code.jquery.com/jquery-1.9.0.js"></script> Try the sample again. ACTUAL BEHAVIOR: the close ('X') buttons don't work. EXPECTED: the tab should be closed on 'X' button click
  • Autocomplete and custom _renderItem 1.10.0 rc and b

    There is an error in the actual demo... view console to see. so you can reproduce using the demo's The custom autocomplete demo is rather simple...! please try with something which isn't default and see that it does not work. nothing in the custom section is rendered.... error "Uncaught TypeError: Cannot set property '_renderItem' of undefined" no modifications to my code and this works fine in 1.8.3 and 1.9.2 with backward comp disabled. trying to up to 1.10.0 rc and i can not.
  • Accordion create event, ui missing panel?

    I have an accordion which has the default first open panel on initialization. The create event is providing ui.header but not ui.panel (undefined). According to docs it should be there. The accordion functions fine otherwise. $('#campSessionEditorAccordionDiv').accordion({ heightStyle : 'content', animate : { easing : 'easeInExpo', duration : 500, down : { easing : 'easeOutBounce', duration: 500 } }, create: function( event, ui ) { console.log('create', ui.panel); // <- undefined console.log('create',
  • Autocomplete not working with jquery 1.9.0

    Hi. Does anyone have a problem with autocomplete? My autocomplete work well with jquery 1.8.3 but can not work with 1.9.0 in Chrome, Firefox (IE still work) ? My code:  $('.contact').autocomplete({ source: "atcomplete.php?find=contact", minLength: 2 });
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of