• uncaught exception: Syntax error, unrecognized expression

    uncaught exception: Syntax error, unrecognized expression: [for=workflowEntity.actionId_402881042da284d0012da2a9e7cf0004_202] Sorry for my poor English, hope you can understand.  When I upgrade to jquery 1.5.2(previous 1.4.4), this error occured. I checked my code, my <input> id is "workflowEntity.actionId_402881042da284d0012da2a9e7cf0004_202", and the error occured in jquery.mobile-1.0a4.js line 3085 label = input.closest("form,fieldset,:jqmData(role='page')").find("label").filter("[for=" + input[0].id
  • iPad Home Screen version not rendering

    We're using jQuery Mobile for an iPad web app.  We're having problems running the app in "full screen" mode, namely, full screen mode doesn't work.  Running it in Safari results in the address bar being visible, and using the "add to home screen" functionality causes further problems.  When using the HTML5 doctype, the page simply seems to render as plain text (none of the stylesheets or javascript files are loaded).  Instead, using the XHTML 1.0 Transitional Doctype causes the page to render correctly,
  • Alpha 4...Error in Internet Explorer after upgrade...using jQueryMobile and ASP.Net.

    Hi... Anyone using jQueryMobile and ASP.Net. I am getting an error after the upgrade to Alpha 4. Getting a JS error, "Error: Exception thrown and not caught". I do not have this issue with an iPhone or Android based phones. Only on Windows Mobile 7 and also Internet Explorer 8 on desktop Here's my simple ASP.NET page below. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>   
  • Forms on Windows Mobile 7

    Has anyone managed to implement a form successfully on Windows Mobile 7? I'm using an HTC Spark / Trophy and whenever the phone sees an input tag, a blank page is returned.  Strangely the code works on the jQM site, but when I place the code from the forms test page on either my own machine or my server, it has the same problem - input tag results in blank screen. The response is coming back the same but even if I set: $.mobile.page.prototype.options.keepNative = "input"; - to override the jQM element
  • Is this a regression or a known issue in 1.4.3+ and IE7/8?

    Hi guys, I'm one of the developers of WordPress. We use jQuery a lot in the admin. There's a problem that surfaced after upgrading from 1.4.2 to 1.4.4. This problem still exists in 1.5.1 and 1.5.2RC. On the Edit Page screen in WordPress admin we have a drop-down containing all published pages. If the number of entries there is more than 300, IE7 and IE8 show an "Unresponsive Script" error when trying to use the drop-down (clicking on it). If the number of entries is just under 300, the drop-down
  • Alpha 4 - orientation change CSS don't work in android [FIXED]

    in my phone (Motorola Defy - android 2.1-update1) don't work the change class (portrait landscape) in orientation change. To fix it I added after the jquery.mobile-1.0a4.js the code: $(function() {     onChangeOrientationResize = function() {         $('body').removeClass('portrait landscape').addClass(window.orientation ? 'landscape' : 'portrait');     };                if ("onorientationchange" in window === false) {           window.addEventListener("resize", onChangeOrientationResize, false);
  • .load() doesn't work on iPhone fullscreen webapp when using 3G - jQuery 1.5.2

    Hi, yes, that sounds like a strange problem and I think it really is. I observed the following behavior after upgrading to jQuery 1.5.2: When my webapp runs in fullscreen mode on the iPhone and connected using 3G, the .load() function doesn't seem to work.  When using in mobile Safari (normal mode) or connected through WLAN, it works as expected. When downgrading to jQuery 1.4.4 it runs in 3G and fullscreen mode. I have no idea how to analyze that problem further, as I cannot read log messages in
  • A4:Scrollview+Select LOV

    Hi All, Alpha 4 make Select LOV not functional when used together with scrollview plugin. One can be reproduced directly in "Form element Gallery" of  /experiments/scrollview/. Select options either do not appear or for some of them it takes upto 5 seconds to be presented to the user. Please advice
  • Bug: jQuery.position() after css transform: Webkit & Firefox different results

    // Assuming absolute positioning $myDiv.position({left:100,top:100}); // assuming we have a "transform" jQuery.CSSHooks for  MozTranform and WebkitTransform  $myDiv.css("transform","translate(50px, 50px)"); var newLeft = $myDiv.position().left; // on Firefox 3.6.15 // newLeft == 100  // on Webkit based browsers // newLeft == 150 Not sure which one is the right behavior (I prefer the Webkit result), but would be great to have jQuery normalizing it. Doing this in the application is very ineffective. 
  • jQueryMobile forum - shows empty forum page on page 2 of errors

    http://forum.jquery.com/jquery-mobile/filter/problems/2 This page shows a blank-ish page for me: http://img6.imagebanana.com/img/4z7qzd78/jqueryforum.png
  • A4 nested listview with image causes layout problem

    Hi, Thanks for the great work on JQuery mobile! In a3 I had a nested split button list view with image thunmbnails. There appears to be some issues with that in a4. To narrow it down I tried a nested list view with image thumbnails. On the nested list the back button is cut off. It seems to make no difference if the image exists or not. If I remove the img the sub page lays out fine. Here is a repro: <html>     <head>     <title>Page Title</title>     <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.css"
  • Unable to start using JQuery with IBM RAD 7.5.5

    Hi,   I have been using JQuery from last 1 year with IBM RAD 7.0 as IDE and WebSphere 6.1 as app Server without any problem. Now my development environment is upgraded wtih IBM RAD 7.5 and WebSphere 7.0 server.   After writing the code in jsp within <JavaScript> tags as   <script type="text/javascript"> $(document).ready(function(){ {); </script>   i am getting the following error. The function $(HTMLDocument) is undefined   I have included jquery-1.4.2.min.js and even replaced with jquery.min.js.
  • issue with select menu plugin

    I am currently using this code: http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html www.petsunlimited.com/test2.htm www.playerspace.com/test1.htm As you can see, the drop down on test 1 IS working correctly with optgroups and the drop down on test1 is displaying the optgroup with each option. Anyone know why this is?
  • Thumbnailer tries (and fails) to do something with list-dividers

    The mechanism that hunts down img's inside of li's tries to work on dividers, but that fails because the has-li-thumb class only pushes "normal" li content over to the right, out of the way of the thumbnail. On another note, even for normal li's, the thumbnail "hunter" is still crazy overzealous.  The documentation used to have a nice simple explanation for when an img would become a thumb.  It had to be the first image in the li.  This is easy to understand, and let's me write this: <li>Something<img
  • Icons in listview are not clickable in a4

    With the new way of handling clicks in listviews, the icons do not register clicks.  The rest of the line is clickable (if you make sure your <a> wraps all the entry's content), but the icon itself is not.
  • Title tag text disappearing in Alpha 4

    In switching from alpha 3 to 4 today, I noticed that when testing in Firefox (3.6.16), the title for my mobile site isn't showing up in the Firefox tab anymore. Confirming that the title has disappeared, I tried saving the page to my home screen on my iPod Touch (the most recent release with retina display). When saving to the homescreen, iOS uses that title tag as the name for the app icon. Just like in Firefox, that field was now blank. In alpha 3, both the Firefox tab and the app icon title work
  • JS lib reference needs tweak in documentation

    On this page: http://jquerymobile.com/demos/1.0a4/#docs/pages/docs-pages.html The js references need to change from : http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a3.min.js to this: http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.js Thanks, Chris
  • Alpha 4 Sub Page error

    I just upgraded one of my apps from Alpha 3 to Alpha 4.  I have one page that is a list page with a series of links. Each link goes to a subpage.  In Alpha 3 clicking on one of the links from page xyz correctly goes to xyz#subpage.  In Alpha 4 this seems to be taking me to xyzsubpage#subpage.  That is, it is inserting the name of the subpage before the hash AND after the hash. This causes the app to break.  Is this peculiar to my app or are others seeing this as well?
  • Change transition when redirecting pages from the server-side.

    Hi, I have rails app using the jquery mobile framework. In one of my pages, I have a form and a submit button, which sends the data to an action on the server-side. The server, then, inserts the new entry into the database and redirects to a page that lists all entries. The redirection is accomplished by using the default slide transition.  I've tried to send the data through ajax and, at first, it solved my problem, since the redirection was done on the client side and I was able to set the pop
  • Multiple OnReady Events Writing Code to Wrong DIV Tags When Back Button is Click

    Hi, I have a series of ASP.Net sites that use jQuery in UserControls to write banner ads to pages post DOM load. It works great when landing on a page for the first time or when navigating to a page using a link. Unfortunately when going back to a page using the back button in a Firefox browser it will write content to the wrong div tags all of which are unique. My code is either for writing script tags, iframes, or images wrapped in a hyperlink. I also use the lazyloadads plugin for Bidvertiser
  • Dialog Issue: Iframes break in IE9

    We ran into a problem with IE9 and IFrames, using Dialog that others are bound to run into.  If you have an IFrame inside a Dialog's content, and IE9 is in standards mode, it will break. This is because Dialog moves its content from wherever its rendered in the DOM, to a first-child of the Body tag.  This is (nicely) done to avoid z-index stacking order issues that can occur with IE9 (quirks mode), and below.  IE8 and IE9 (in standards mode), however, do not have the z-index stacking bug. The problem
  • jQuery.param

    I have next code:     var $checkedRecords = $('input[name="checkedRecords"]:checked');     var checkedRecords = $checkedRecords.map(function() { return this.value; });     var data = jQuery.param({ checkedRecords: checkedRecords }); There is error on line 3: uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://localhost:62293/Scripts/jquery-1.5.2.js :: anonymous :: line 6846" data: no] Seems like $.param iterate
  • Alpha 4 questions so far

    Hi, great to see another release. a few questions so far: data-nobackbtn="false" doesn't have any affect, the close button still appears, I'm currently working around this by removing the <a ref. This is more an idle curiosity, why are there two tick icons in the icons-18-white.png other than that, upgrade seamless so far regards Matt
  • selectmenu('refresh') when removing items

    selectmenu('refresh') when removing items: observed issue in UI In my code I am using jQuery to clear a menu in-place and re-render it. Effectively I run: $('#selectmenu').html(''); $('#selectmenu').append('<li>Item</li>'); $('#selectmenu').selectmenu('refresh'); However, in the UI, upon clicking the menu, the lightbox style list of options still shows old options (Chrome 10.0.648.204 as test browser) even though they are not clickable. Fortunately, only the new options are clickable. FYI to dev
  • "ajaxLinksEnabled: false" no longer working for listview links in alpha 4?

    I use this code to prevent the ajax page transitions and ensure new data is loaded each time a page is visited: $(document).bind("mobileinit", function(){   $.extend(  $.mobile , {     ajaxFormsEnabled: false, ajaxLinksEnabled: false   }); }); This was working fine in alpha 3, but in alpha 4, it no longer works on my links that are within a list view (it still works everywhere else).  Could this be due to the change made for how links work in the listview? I did have to refactor the code there for
  • JQM (jQueryMobile) toggle() function performs differently if passing false first

    Here is an example:  http://jsfiddle.net/FzZwt/8/ If I pass false first the transition is smooth and slides. If I pass true first the transition is instant <div data-role="page"> <div data-role="fieldcontain"> <fieldset data-role="controlgroup" data-type="horizontal"> <div>Boolean Test 1 - Passing TRUE first</div> <input type="radio" name="boolean" id="true" value="true" /> <label for="true">Yes</label>                 <input type="radio" name="boolean" id="false" value="false" checked="checked"/>
  • addClass / removeClass Bug?

    So here's what Im trying to do: I have a table with over 100 rows, and I am using mouseOver to change the class to 'highlight' the row.  I am trying to add some jQuery to make the highlight effect a little more aesthetically pleasing. Here's the logic: on <tr> mouse over      change class to 'highlight' on <tr> mouse out       change class back to original with a slight fade Here's some samples: Youtube video of the issue Link to working Demo Here's the code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  • Error in jquery 1.3.2 min.js in IE9 when hovering over a div using jquery.cluetip.js plugin

    HI there, I am using jquery.cluetip.js plugin, as and when i hover on a div on which i have implemented the cluetip functionality the jquery 1.3.2 min.js throws an error NOT_FOUND_ERR: DOM Exception 8 This error is thrown at j.attribute("G",K) . I have no idea why i am getting this error only in IE 9 and not in any other browser, is the plug-in ( jquery.clutip.js ) compatible with IE9 ? Any help would be appreciated Regards Prabhjot singh
  • Themeswitcher is not working when accessed from primefaces

    Hello,   I have started using the PrimeFaces components and some of them are using the jQuery CDN. One of these is the Themeswitcher component. When I tried to use it it appears with the thumbnails broken. I have checked the Primefaces demo site and the same problem appears there too.   I have posted the relevant post in the Primefaces forum (found here: http://primefaces.prime.com.tr/forum/viewtopic.php?f=3&t=8758&p=34407#p34407 ), but since the problem seems to be somewhere between the Primefaces
  • (validate) number() with radiobuttons and selects containing empty values

    Hello, I'm using ASP.NET MVC3 with unobtrusive validation that utilizes the validate plugin. What I'm trying to achieve is to bind a (nullable) numeric property of my model to a group of radiobuttons or a dropdown. The problem here is, that "nothing selected" should be the first option in the list (the value of the input:radio or option is ""). First thing is: MVC3 automatically generates validation metadata for all numeric fields that points to the number validator on the client, that means, in
  • data-nobackbtn="true" / data-backbtn="false" does NOT adhere for ListView child pages!!

    Hi -   I've got a ListView navigation (UL).  Since the back button doesn't appear to work, I've tried to hide it.  The various implementation of Jquery hiding the back button work on the first page, but not on subsequent "child" levels.    Help!    Logic would dictate that if you apply a "no back button" to an element, it should adhere for all child elements.   For instance: <div data-role="header" nobackbtn="true">       <ul data=role="listview">             <li>menu 1</li>  <--  Back button hidden
  • Demo checkboxes have non-existent class

    Hi, I notice that that the checkboxes have been assigned a non-existent class as bolded below: <span class="ui-icon ui-icon-ui-icon-checkbox-off ui-icon-checkbox-off"></span> (this is also occurring in your demo here: http://jquerymobile.com/demos/1.0a3/#docs/forms/forms-checkboxes.html) cheers Matt
  • jquery mobile removes # in traversed link when using jquery.address plugin

    there seems to be a strange interaction between jquery mobile and jquery address, where deep link urls appear correct, but when clicked on the # is removed and the page is therefore not found. These are internal deep links to the same page. I started with a jquery mobile site which worked fine and then tried to integrate address into it. That didn't work, so I stripped out jquery mobile and the site worked well minus the formatting,  I've put together two simple pages that demonstrates the issue:
  • Error using jQuery 1.5.X and Firefox 4

    Hi! I updated to firefox 4 and ran in to a strange problem that some of you might better understand ... Problem I have a pretty complex page developed using jQuery 1.4.X -->  1.5.X and the page works withouth any errors in IE 8, IE 9 , and Chrome 10 but fails with error in FireFox 4 when using jQuery 1.5.X but is working when using jQuery 1.4.X The code failing is returning the following error : $(".spSelectList_item").css is not a function The Code below is failing when using jQuery 1.5.X and FF4
  • jquery.ui.datepicker.js (Month picker) in FireFox

    In this library in the function _generateMonthYearHeader why diference with Firefox in the code? if( ! $.browser.mozilla ){                 html += inst.yearshtml;                 inst.yearshtml = null;             } else {                 // will be replaced later with inst.yearshtml                 html += '<select class="ui-datepicker-year"><option value="' + drawYear + '" selected="selected">' + drawYear + '</option></select>'; } if only use month a year select in the witget in firefox generate
  • BlockUI overlay theming

    Hello, First, thanks for a great blockUI plugin! Very nice stuff. I'm trying to write a themable JSF (JavaServer Faces) component for this plugin and figured out that the overlay is not really themable. Only "backgroundColor" and "opacity" can be adjusted. The overlay div has two classes at the moment <div class="blockUI blockOverlay" ...>. I propose to use "ui-widget-overlay" class instead of "blockOverlay" (or in additional to "blockOverlay"). The overlay div looks like then <div class="blockUI
  • Conflict between my jquery Nav and Fancybox

    Hi All, I have a website which uses jquery for the nav and then i also want a fancybox pop up within this page. There seems to be a conflict between the Nav and Fancybox but im unsure how to fix it. the page is here... http://bit.ly/h2YLsN and the link is the Make a booking link. please if someone knows how to fix it i would be very greatful. thanks Craig
  • Slider dragging not working in Mobile Firefox

    I just loaded the newly released Firefox Mobile for Android and went to the JQuery Mobile Demos.  I noticed that dragging the slider doesn't work because Firefox Mobile actually has some functionality for swiping/dragging from side to side so the only way to set the slider value is to tap on either side of the slider ball which isn't very precise.
  • Enabling disabled button does not refresh correctly

    I am disabling an input button on my data entry form until all of the data validates correctly. When I enable the button it does not always display the same as the Cancel button that was not disabled. I occasionally appears as though the mouse is hovering over it. I have discovered that if I tab to the button or if I hover the mouse over it, it then displays OK after I tab to the next button or move the mouse off of it.  This is the html that defines the button. <input type="button" id="submitButton"
  • Superfish and IE or Safari/Firefox error.

    I have been working on this vertical nav menu for a while now.  First it was working on IE but on Safari it would not open up the submenus.  I redid the Navigation using Superfish and now, it works on Safari and Firefox, but not IE.  I have no idea why.  The link to where I am working on it is here: http://kgstickets.com/testnav.php You can see the original one, that is still live, that doesn't work on Safari here: http://www.kgstickets.com/ I have all the css and js if neccessary.  I have been frying
  • 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