• Breaks Rails Omniauth

    When I implemented jQuery Mobile my OmniAuth twitter authentication broke. I am getting a general error when I try to hit my /auth/twitter controller and it never directs to twitter. If I comment out the jQuery mobile script source tag it works. Has anyone else run into this problem?
  • Tablesorter ip address sorting problem

    Hi I'm using tablesorter in my app and it's working great except.. the ip address sorting seems to be slightly broken. It will sort on the first two groups fine, on the third group it tries to sort once and gets it wrong and on the last group it won't sort at all. bob After a bit of debugging the issue is that an ip address is being detected as a digit, i.e 192.168.1.100 is detected as the number 192.168 and hence only sorting on the first two groups. I fixed this by moving the digit to the end of
  • Cannot get simple dialog to work

    I cannot get this simple dialog to display as a dialog.  When clicking the link, I'm taken to a page, but the page is not in a dialog.  Does anyone know how to resolve this? <!DOCTYPE html> <html>   <head>   <title>Open Dialog 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> </head>
  • Downloaded zip file damaged

    I've setup a custom theme on the jqueryui site, and I'm trying to download it since yesterday, but I always get a damaged zip file...is anyone experiencing the same issue?
  • $.dialog positioning problems with Webkit browsers

    When using $.dialog() in Chrome/Safari. The option position: "center" only aligns the dialog box to the left center. Again, this is Webkit only. FF3/4, Opera, and IE(sad IE works over Chrome...) all position properly. I did notice though, cause I have another project thats currently using jQuery UI 1.8.7 is working fine. But the bug is in 1.8.9. Heres a JSFiddle test case. http://jsfiddle.net/samishii23/MW53R/4/
  • .listview('refresh') and thumbnails

    I have a script which uses ajax to add to a list. When I use .listview('refresh') the main styling refreshes but thumbnails don't seem to get styled properly. Is there something I need to add to the code?
  • Back button not working after changePage()

    I am having the following repeatable problem. 1. Click <List> button to enter listview page. 2. Click listview item which triggers changePage(). 3. Click <list> button to enter listview page. 4. Click <Back> button on listview page. Button doesn't respond. Running in Android emulator and Chrome 10. Code follows <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" /> <script src="http://code.jquery.com/jquery-1.5.min.js"></script>
  • Validate plugin - error message doesn't disappear when 2 classes are assigned

    I tried assigning 2 error classes to an error message (as a span), but when the empty field was fixed, the error message wouldn't disappear.  $("#testForm").validate({     errorClass: "ui-state-highlight ui-corner-all",     errorElement: "span"   }); With 1 error class it works fine, but adding a second one makes it fail. Here are some links, just hit the submit button a few times on each one to see what I mean 2 classes: http://jsbin.com/eqiqa3 1 class: http://jsbin.com/eqiqa3/8
  • jQuery Mobile not working with Symbian^3 browser in Nokia N8.

    I am using a Nokia N8 with Symbian^3 which is supposed to have A grade support for jQuery Mobile. However, when I try to watch the jQuery Mobile demo website in it to test for support, it doesn't work and I see this. Is the Symbian^3 browser supported yet with jQuery Mobile Alpha 4.1? Symbian devices still hold a lot of market share to overlook support. ______________________________________________________ Saurav Srivastava Designer at SlideShare Twitter: gx_saurav Blog: http://gxsaurav.com
  • Parse Error jq 1.5x on Iphone Safari

    i am developing a mobile version of our website. when i use  <script src="mobile/jquery-1.5.1.min.js"></script>i'll get a parse error on line 1 in safari on iphone. when i use the uncompressed version i get a parse error in line 2192 strange is, when i use the hosted version <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>the page works perfect. with jquery-1.4.4 it is no problem. but with both 1.5 versions (1.5 and 1.5.1) i get the parse error on my iphone.
  • H.apply is not a function - JQuery Tabs

    In the Jquery Tab, I am displaying  forms which has some fields. When I cilck on those field like focusing the text field or checking the checkbox. It gives error "H.apply is not a function". Can you help into this
  • Setting width on an accordion using autoHeight:true and active:false results in jumping

    Setting width on an accordion using autoHeight:true and active:false results in jumpy animation on the first slideDown http://dev.jqueryui.com/ticket/5540 Can anyone take a look at this ticket? I've attached a testcase.
  • BlackBerry OS 6 input value duplicates on orientation change

    I don't see this issue in the forum and am not able to test on the jquery mobile demo page, as my test phones don't have outside access to the internet. This is only happening on the BlackBerry Torch (OS 6) that I know of. If you enter a value into a text input and leave the keypad active and change the orientation, the value you just entered in the field duplicates. It duplicates the whole value. So, if you change the orientation again, it quadruplicates the value. This does not happen when the
  • validClass doesn't work [Validate]

    Hi, I'm trying to use validClass option on validate() function but don't seem to work... simply hide de errorElement my code: var validator = $("#registerForm").validate({         onkeyup: false,         errorClass: "invalid",         validClass: "valid",         rules: {                  //....             }         },         errorElement: "em",         errorPlacement: function(error, element) {             if ( element.is(":radio") )                 error.appendTo(element.parent().parent());    
  • Accrodion flicker when you change section if there's scrollbars in sections!

    Hello, You can see this problem in the example given here : http://jqueryui.com/demos/accordion/#fillspace Go to section 3. Drag the scrollbar down. Now, each time you select another section or come back to section 3, you have a very ugly flicker. If you reset the position of the slidebar on section 3 then the flicher disappears! Is there a way to get rid of this annoying blinking? Thank you edit : I have this problem only with firefox!! I use firefox 3.6.3
  • Dialog will move its div-tag to body

    Hello, If a dialog is opened and destroyed the div used as dialogcontent will be removed from its original position and will be appended to the body. This becomes a problem when using partial page updates, because the div will move out of the scope of the update. If the update creates the div again it will exist twice now, including all the problems like not unique IDs. I have got two ideas to fix this. Alternative 1: Memorize the parent element Add following line to the _create function     this.parentElement
  • Decimal Steps with Range Slider?

    Though HTML5's "range" input type does allow a step value that accommodates decimals, jQuery Mobile doesn't seem to respect that. It looks as if JQM just rounds the value up, which isn't good for my use. I am trying to use the following: <input type="range" name="HoursWorked" id="HoursWorked" value="1" min="1" max="24" step="0.1"  /> As I said, JQM is just rounding my slider value, ignoring the actual step value. Is there a reason for this? Also, can I disable this behavior? This specific use requires
  • problem using jquery mobile and jqplot on iPad

    I have a problem using jquerymobile with jqplot on an ipad this is probably a jqplot problem but i thought i'd try anyway when i have loaded approximately  12 jqplot plots safari just quits, no error. i used latest versions of both jquery mobile and jqplot any thoughts on this anyone
  • Select Menus data-native-menu="true" Not working for Android

    When I use data-native-menu="true" in iOS and Chrome, everything works as expected. However, if I use it within a fieldset on Android, the first drop-down in the fieldset works, but no drop-downs after that work at all. 
  • AutoComplete - Combobox option js error in IE "Stop running this script

    We have a simple combobox we are trying to convert to autocomplete - combobox.  This provides the typeahead search as well as the clickable arrow for normal combobox functionality. Works fine in CHROME and FIREFOX but IE pops an error "Stop running this script".  There are about 800 items in the combobox. We don't have issues with Combo boxes that have less items but why would IE be stuck in some kind of loop when chrome and firefox don't. any fixes or adjustments to initialization to solve this
  • ui-icon-arrow-r not shown on samsung galaxy tab when changing from alpha 3 to alpha 4 and using local files

    hi all, when I change from alpha 3 to alpha 4, the right arrow icon at the right of an unsorted list item disappears on my samsung galaxy tab when I use a local jquery.mobile-1.0a4.css file (I see solid filled grey circles in stead). When I go to the jquery mobile demo website it is ok, but when I rebuild the jquery demo website locally the arrow is gone. I found out that if I comment out three lines in the  jquery.mobile-1.0a4.css file the arrow is show again: So when I use this original code from
  • No visual feedback when touch a regular link.

    The following css style removes the UI feedback when you touch a regular hyperlink in iPhone/iPad/Android 2.1 browsers: ui-mobile-viewport {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);} I think this is intended not to interfere with jQuery mobile's own visual touch feedback (which I think needs improving), but it makes for very 'wooden' websites. On some Android models you can use the trackball to 'tab' between all the clickable elements on a page, but this style removes that ability. On iPad/iPod
  • Parsing XML with tag names containing hyphens

    Hi, I am using jQuery for XML parsing and editing, but there seems to be issues with tag names containing a hyphen (with jQuery 1.4.2, in FF & Safari): var doc = jQuery("<root><title-1/><title-2/></root>"); doc.find("title-2").parent()[0].tagName; //=> expected: 'ROOT' //   got: 'TITLE-2' jQuery('<div>').append(doc).remove().html(); //=> expected: "<root><title-1/><title-2/></root>" //   got: "<root><title-1><title-2></title-2></title-1></root>" Does somebody have a workaround for parsing XML documents
  • Bug: jQuery.position() after css transform gives different result on Webkit & Firefox

    Load the following page in Firefox (3.6+ or 4.0) and Chrome/Safari http://files.n2napps.com/bug-jquery-position-after-transition-webkit-firefox-different.html In Webkit browsers, the $box.position() take in account the css transform translate() operation, however in Firefox when we call after the css translate, the $box.position() return the same values than before the translate (even if the $box has been successfully translated) Here is the short code to illustrate this issue (but do a view source
  • Possible infinite loop when adding dynamic content

    I want to add some dynamic content to a page after it has been shown. This dynamic content included jQuery controls like expanders. Thus, I need to call ".page()" on the topmost element, I insert into the DOM. In addition, I also listen to "pagecreate" where the creation of this dynamic content is queued. However, each call to ".page()" results in firing "pagecreate" which results in new content generation and... finally an infinite loop. Take the following code as an example: <div data-role="page"
  • https://code.jquery.com has an invalid SSL certificate

    On http://jquerymobile.com/download/ you kindly offer CDN hosting on code.jquery.com.  However, for those of us who use SSL on our sites, we need to use SSL for this as well.  Unfortunately the server certificate (with edgecdn.com) is invalid. Can you get this fixed.  Thanks for a great product! -Rolf
  • dialog black theme cannot be changed

    You might not have found that the dialog theme cannot even be changed, which is by default black. The dialog header, content and footer can be changed to any other theme, but dialog page itself is fixed to be black. Is black better for a dialog? or can it be set somewhere I don't know? <div data-role="page" data-theme="c" id="newword">                                 <div data-role="header" data-theme="b">                                         <h1>{% trans "search a word" %}</h1>                                
  • performance issue - long response time on checkboxes in several layers of embedded ui widget (e.g. tabs)

    Hi all, I've one page having 4 layers of embedding tabbedpanel. In the inner most panel I've more than 30 checkboxes. In this case, clicking on the checkboxes take long time to change there states. When there are more DOM elements in the panel, it becomes worse. More tests showed that the issue occurs for any input control in the panel and seems true for all ui widgets that can be embedded. In addition, the issue only occurs in FireFox. It works fine in IE and Google Chrome. Below is the screenshot
  • Sign Up to this forum doesn't work in Safari on Mac

    Hi, I just signed up, but had to switch to Firefox 3.6.13 in order to do so as the registration form didn't work in Safari. On Safari 5.0.4 (6533.20.27) on Mac OSX 10.6.6 the form won't tab out of the Username field and the other fields won't focus on select with the mouse. I cannot take focus off the username field ! That is all, good day to you all.
  • uncaught exception: cannot call methods on button prior to initialization; attempted to call method 'disable'

    I've got a button on my page, and when I click it, I get this exception: "uncaught exception: cannot call methods on button prior to initialization; attempted to call method 'disable'"       $('#start').live('click', function() {         alert('disabled');         $('#start').button('disable');         alert('disabled');      }       <div>         <a id="start" data-inline="true" href="#" data-role="button" data-theme="b">Start</a>       </div> Any ideas? Given that the page has rendered and I've
  • Problem with click event

    I have this function (posted below), and when executes for the first time it works just fine. But when i select, another div of the same class, to do the same with it, it executes for that div, and for the previous one too!.. And the canvas stays active, so, when i click it, it refreshes the input again!..And makes another circle.. I dont want this to happen. How could i do?... $(".point_wrapper").click(function(event){    $(this).css({background : '#000'}); var id = $(this).attr("id");  var nombre=$(this);
  • Active item in navbar loses highlight

    Hello Im using the lastest jQuery Mobile alpha 3 and is having trouble with the navbar and a multipage template. After navigating 2-3 times using the navbar the currently active menu item is no longer "active" and highlighted. Below I have pasted my very simple sample which is mostly based on the multipage template on http://jquerymobile.com/demos/1.0a3/#docs/pages/docs-pages.html I have the described problem in both Firefox 3.5 and Chrome 10, both desktop versions, and a Android 2.2 browser on a
  • box-shadow in safari

    For some reason jquery-mobile flags <html> as ui-mobile-nosupport-boxshadow in safari browsers. Had very hard time to figure it out as i never debugged safari before. Anyone had same issue? I experience this in Safari 4.0.4 (win7) and iBBDemo2 iPhone and iPad simulator (win7) . Could this be a platform issue that doesn't affect the real thing i have no way to know. I'm using jQ mobile Alpha 4
  • Alpha 1.0a4.1 button bug?? - active theme applied and remains

    Hi, If you run up the following page (updating the reference links as required), you'll notice that when you click on a button, it stays blue.  Revert back to version 1.0a3 and the issue is not present.  I had problems with 1.0a4 so can't say whether the problem's there as well. Also, ie9 working much better - but one of the themes (c I think) comes as an unreadable blue. cheers Matt <!DOCTYPE html> <html> <head>     <title>Active button bug</title>      <%--   <link href="../Styles/jquery.mobile-1.0a3.css"
  • Alpha 4: [iphone] viewport not resizing with meta viewport height=device-height + virtual events

    The viewport in alpha4 isn't resizing at all after an ipad/iphone (ios 4.2) rotation. Everything is fine on android. The problem arises when height=device-height is used with width=device-width in the meta viewport. Is this actually the right behaviour or is it a bug? Alpha4 also suffers from double tap problems that have been solved in beta-pre. The whole virtual event thing seems to be buggy in beta-pre, for example:         pagebeforecreate event is fired before a 'vclick' event bound to an anchor.
  • Refresh dynamic listview with image did not render properly

    Hi I have a listview like the one at the bottom of http://jquerymobile.com/demos/1.0a3/docs/lists/lists-inset.html . I load my images and content dynamically and refresh the listview. But the content did not render properly. I found out that I had to remove the "find('li')" at the _itemApply function of mobile.listview. Now it works. The find("li") did not apply on my listview because the item was the li itself! Is it necessary to first apply the find("li")? Beat
  • Issue with duplicated userCollapseText when useing JQuery Expander :(

    Hello JQuery group,   I'm must say that I really enjoy using the jquery.expander control for a simple and intuitive UI.  It works really well with news items that need to include a Read More... and Close... option.   I just have a strange issue/artifact with one of the controls properties, the userCollapseText property.  The strange thing about this issue is that I'm using the control on a test repeater which works fine (I'll explain in a bit) but on our test box in a DIFFERENT repeater, it somehow
  • Just Joined problem...

    Hi, I was browsing the forum looking for help with something I'm trying to accomplish with jQuery but couldn't find anything specific... So I decided to join up and post a question myself... My problem is, and I don't know how I'm gona see the response... after signing up, when I visit the Forum page (or click on anything in the blue menubar apart from 'My Account' (an 'New Post' obviously ;), all I get is a black box in the center of the screen?!?! I can no longer see any of the forum entries, is
  • Ajax Navigation, URL and Page elements issue in a4.1 demo

    Hi, I am working with sample project to analyze the Ajax Navigation, and URL behavior  in jquery mobile. I found one strange thing , not sure that it is a problem or not. I tested it in Firefox 4. To check this issue, Go to jQuery mobile Demo page here: http://jquerymobile.com/demos/1.0a4.1/ 1. click first item under overview -  "Intro to jQuery Mobile" from the listitem view. 2. now once that page is loaded, click home on top - right corner. this will show you home page again. 3. Do this for 6-7
  • Scrollview Frozen on IOS

    Hi All, We're starting to develop a video mobile app for tablets and the  layout is a very simple Scrollview on top of a native video player.  We are using 1.0a4.1 1. standalone scrollview with our dataset on a blank page works perfectly on an ipad2 2. same scrollview with same dataset placed on a full screen video player freezes completely and looks like we placed a static image over a video player (but the underlying video and player works fine) 3.  The same scrollview and video player that froze
  • 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