• dataType needs to be set on $.ajax calls for apps using file:///

    Reposting from bug report on https://github.com/jquery/jquery-mobile/issues/1308 I'm building a PhoneGap app using jQM and found that the $.ajax call inside $.mobile.changePage does not set the dataType to "html." Because of this, webkit loads the page (located at file://some/path//page.html) as a "Document" object rather than just straight up html. jQM expects the response to be an html string rather than a Document object. This causes line 2057 (in jqm 1.0a3) to fail to find the element: to = all.find('[data-role="page"],
  • Issues with Drop Down when it fills the screen.

    Hello, Is anyone having a problem with the following symptom: I have an HTML Select that fills the browser screen. I select one option the first time, then I change my mind and select another option. after that, when I have problems navigating away from the page (In a standard browser, the loading page keeps loading and on my iPhone, it goes somewhere but not the page that want it to go. I attached a zip of 4 files ( 2 normal page, 1 working ddl and 1 ddl that is having the issues) to reproduce the
  • ajax subdomain cross domain issue after upgrading to jquery 1.5

    After upgrading from jQuery 1.4.2 to jQuery 1.5.1, I'm getting a "No Transport" in ie8.   my website at http://sub.website.com is trying to access http://website.com/service.asmx. I understand this note,   Due to browser security restrictions, most "Ajax" requests are subject to the same origin policy; the request can not successfully retrieve data from a different domain, subdomain, or protocol.   However I need to solve. Is there a way to override the ajax handling to allow subdomain request as
  • After "error loading page" message, link no longer works

    I've noticed this today testing jqm for the first time on a small project. If a page fails to load, the "error loading page" message displayed in the transient yellow (style e) modal is shown shortly after the "loading" modal. Thereafter, the link that failed to load doesn't function.  To clarify, the first time you use a broken link, you see the loading and error dialogs. Thereafter, you are shown no dialogs, and so the link is now a nop. I can see why one might do this, as what's the point of processing
  • Can't type spaces in a text input

    I have one text input field in which, for some reason, I can't type spaces. Other characters are fine, but spaces are rejected. Text inputs in other very similar forms are working fine, I can't figure out what's wrong with this one. The problem line: <input type="text" name="brand" id="brand0" value=" " class="ui-input-text ui-body-null ui-corner-all ui-shadow-inset ui-body-c"> The problem form: <form action="shopping.php" method="post">  <input type="hidden" name="pk_item_store" value="0">  <input
  • Global nativeMenu not working in a3

    I could be Doing It Wrong, but I can't get the code from the docs to work: $(document).bind('mobileinit',function(){ $.mobile.selectmenu.prototype.options.nativeMenu = true; }); The per-select data-native-menu="true" works just fine. As per the docs, the above code sits between the jquery and jquerymobile loads: <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.min.js"></script>     <script type="text/javascript">         $(document).bind('mobileinit',function(){            
  • How to apply active mode in jquery accordian

    Hi All, I am using an jquery accordian as a menu in my site...it goes on next page when i click on the button but i want to show an that button in active state when it on is on its respective page. Below mentioned code is i am using for my accordion menu. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>         <script type="text/javascript">             $(function() {                 $('#accordion > li').hover(                     function
  • How to have Active mode in JQuery Accordion

    Hi All, I am using an jquery accordian as a menu in my site...it goes on next page when i click on the button but i want to show an that button in active state when it on is on its respective page. Below mentioned code is i am using for my accordion menu. $(function() {                 $('#accordion > li').hover(                     function () {                         var $this = $(this);                         $this.stop().animate({'width':'340px'},500);                         $('.heading',$this).stop(true,true).fadeOut();
  • jQuery Cycle and jCarousel - not working together on Chrome/Safari

    I am using both jCarousel and jQuery Cycle plugins on a website along with jQuery 1.5.1.  These plugins play nicely together on all browsers except Safari/Chrome. On Safari/Chrome none of the plugins load. When I disable one of them, the other works fine.  This code works completely fine on IE6-9 and Firefox (Mac/PC). Grasping at straws I've added jQuery.noConflict() to both plugins but that had no effect. I've googled the error codes I'm getting, but I can't find any more meaningful pointers to
  • "jQuery broken - AJAX success call related… Really strange error from basic code."

    http://thomee.tumblr.com   SCRIPT438: Object doesn't support this property or method jquery.js, line 1374 character 5 which is line: elem[ jQuery.expando ] = id = ++jQuery.uuid;   http://stackoverflow.com/questions/5440614/jquery-broken-ajax-success-call-related-really-strange-error-from-basic-code   I've tried all sorts of things... Previous to now, I've written it several different ways and I thought this would be best way but now this. IE actually reports an error... FF seems to pretend there
  • Textarea iOS - autocomplete suggestion fails to be clicked

    Very strange (iphone/iPad/iOS) behaviour. When using the (Stupid) Autocomplete function on an iPhone / iPad, the dictionaty gives you some suggestions. This 'blue' suggestions has a small 'ignore' (delete) button in the top right corner. Strangely: tapping / clicking the autosuggestion fails in a <textarea></textarea> But it does work in a <input type="text"">The autocompete="off" also won't help me. A know issue? See the screenshot.
  • Exception "Syntax error, unrecognized expression

    Hi, im getting this error when on my script that rebinds functions and recreates dialogs, what could be the problem? I am using jQuery 1.5.1.min & jQuery UI 1.8.11 [Exception... "'Syntax error, unrecognized expression: "' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]  Line 0
  • jquery 1.4.x, firefox 4 beta & ajax callbacks

    Hi, I'm using firefox 4 beta 3, and I'm getting a strange behavior when using $.ajax : no callbacks are executed. I made a very small and simple test html page, just loading jquery in an empty html page. Than, using firebug's javascript console, I execute this : $.ajax({url:window.location.href, dataType:'text', success:function() {alert('success');}, error:function() {alert('error');}}); Then I get no alert, but I can see in Firebug's console that the request was successful. I tried this with jQuery
  • JQuery Mobile Forum Navigation Broken

    When browsing specific sections of the forum, like "Ideas", "Problems", etc. The link to the next page of results (at the very bottom of the page) leads to an empty page. It doesn't do this when browsing "All" topics.
  • jQuery UI Demo JS error in IE

    Is it me or the jQuery 1.5.1 & jQueryUI 1.8.11's demo addClass have compatibility issue with IE? Demo http://jqueryui.com/demos/addClass/ jsBin http://jsbin.com/equba5
  • Validation plugin overrides and breaks jQuery ajax function

    The validation plugin overrides the $.ajax function as follows: // ajax mode: abort // usage: $.ajax({ mode: "abort"[, port: "uniqueport"]}); // if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort() ;(function($) { var ajax = $.ajax; var pendingRequests = {}; $.ajax = function(settings) { // create settings for compatibility with ajaxSetup settings = $.extend(settings, $.extend({}, $.ajaxSettings, settings)); var port = settings.port;
  • append() to head not working in 1.5

    I am not able to re-open a ticket, and I can't find the contact information of somebody to do it for me. I'd like to re-open Ticket #7522, since I am again able to reproduce it in 1.5.1. Is there an easy way to do this? edit: I changed the title, since the content of the topic is going in the direction of tickets #7522, #5819, #8607 and #8574.
  • jQuery 1.5.1 & Chrome/Safari - jQuery errors

    jQuery won't appear to load properly on Chrome and Safari for a website I'm working on. (I'm using the jCycle plugin on the page). It works everywhere else including IE6. I can't tell from the errors if the issue is with jQuery itself or the plugin. Here's the error I'm getting: Uncaught TypeError: undefined is not a function jQuery.jQuery.extend._Deferred.deferred.resolveWithjquery-1.5.1.js:869 jQuery.jQuery.extend.readyjquery-1.5.1.js:420 jQuery.DOMContentLoadedjquery-1.5.1.js:1055 I'm unfamiliar
  • Validation plugin on Android - doesn't seem to validate email addresses

    We tested one of our pages on android today and it seems like our email address field always got marked as not being a valid email address, even though it was I changed the validation to only require an email address if the userAgent wasn't android, which solved the problem enough so that people could continue Anyone know what the problem might be? We were initially using validator 1.7 but I saw that version 1.8 was available so I updated to that, but the problem was still there
  • Selects in a two column grids do not centre when they pop up

    I have been using some simple forms with jquerymobile alpha 3.  When I have two select items next to each other using ui-grid-a the overlay that pops up with the options centre on the select element rather than in the page. this is a code snippet  <div class="ui-grid-a">     <div class="ui-block-a">       <div data-role="fieldcontain">         <label for="proptype">Type</label>       <select name="proptype" class="form_search_combobox">         <option value="">Any</option>               <option
  • Rounded Corners Plugin (jquer.corners.js) IE problem

    Hey, I'm trying to implement rounded corners with jquery with the following plugin https://github.com/malsup/corner/raw/master/jquery.corner.js?v2.09 http://jquery.malsup.com/corner/   In IE 8 is the following error: I've a colored background so the corner must be Transparent in all browsers it works fine but not in IE8 --> there I've corners but with a white corner background and it should be transparent!   Here is a picture of the error in IE8:   And it looks correct in FF: any idea how to solve
  • Limit of the cooperation of HTML 5 and JQueryMobile

    I can't correctly display the "select" result of my HTML 5 database : is it a limit of the cooperation of HTML v5 with JQueryMobile, When I use HTML basic elements between these closure I can view the correct display in the "listview" HTML object :   $(document).bind("mobileinit", function(){ // Waiting for JQueryMobile loading   $(document).ready(function() { // Waiting for DOM loading  $('#listviewCarnets').append(   "<li><a id=\"carnetAffich1\" rel=\"external\" href=\"pagecarnetAffich.php\">Carnet
  • ui.dialog problem with IE when modal is true

    hey i am use jquery dialog  ,inside the dialog i have html multiple select box and only in IE i cannot able to click inside the box . when i set the modal to false it`s becomes clickable
  • Open a dialog, In the dialog open another page, and in new opened page, back will be invalid

    How to reproduce the problem: Open any dialog, which has a form, for example search a word; fill in something, and submit the form submitting will open another page in the new opened page, click back button, invalid click again, back to the first requested pageSo the forth step has an error, two clicks needed to go back Browsers: Firefox, Webkit
  • Need Help Please - jQuery("ul.sf-menu").superfish is not a function error with top menu bar and sliding categories left nav block in prestashop

    I am getting the following error when viewing the site in firefox " jQuery("ul.sf-menu").superfish is not a function" I am pretty sure this has to do with my top menu bar and my sliding categories left nav block I have in my prestashop store at: www.ledlites4rvs.com website. I am not sure how to fix.  HELP PLEASE. I attached the file associated with the error but I had to put it in text format.  It was superfish modified.js I have tried "no conflict" code thinking it could be a couple of different
  • Problem in Opera, Chrome but not in IE8

    Please Help to fix. If you click on IE8 picture is open lightbox, if you open in Opera or Chrome and click on picture - picture open in this same window.  Example url Thanks for help
  • JS error with jQuery1.5.1 in IE9

    Please see Attachments May be It is a bug
  • Problem in Opera and Chrome, but not in IE8

    I have problem with jQuery lightbox image. If click on IE8 image open litghtbox, if click on Opera or Chrome image open in this same window. Example link. Please help
  • $.ajax() problem in IE, but not in Firefox and Chrome... encoding issue?

    I'm using $.ajax() on a webpage to fetch a XML result from a classic ASP page. This works fine in all browsers as long as there are no special characters like the Euro sign in the XML result. Once there is such a character in the XML result, Internet Explorer reports: "DOM exception: syntax error (12)". But other browsers like Firefox and Chrome don't have this problem. They process the XML result just fine. I guess this must be an encoding issue or something like that. But I don't understand why
  • $("#element_id").width() problem

    I am fairly new to jQuery.  I have a <div id="myDiv"> (with absolute position) containing a number of sub-elements (some hidden) including other divs.  The function $("#myDiv").height(); or $("#myDiv").width(); returns 0 even though myDiv is about 850X1000 px as measured on the screen.  Can anyone set me straight about this?  Thanks.   
  • error ids

    Good morning, I am working with jquery 1.5.1 and ui 08/01/1911, and found a problem, when the tabsare created for the first time the forms within them I work and identifiers of each well, butwhen I go through another menu re-create the tabs, the identifiers are exhausted and thefailure to produce the information, and I take the values ​​of the fields by their IDs, anyone can help me with that, thank you very much beforehand. One more thing sorry for my English.
  • Superfish bug: ie6 with jquery-1.4.4

    I encountered a bug today where 3rd-level fly-out navs weren't displaying in internet explorer 6 with superfish 1.4.8. Eventually narrowed down the cause to the jquery library. Replaced jquery-1.4.4 with jquery-1.4.2 and the problem was resolved. Hopefully reporting this will help some other people and prevent some hair-tearing.
  • jquery-git.js vPull / build broken since Tue Mar 1 22:13:01 2011?

    looks like the auto-build has been broken for some time : (
  • These forums lack the polish that a project as big as jQuery should have...

    In only 3 minutes on these forums I am left with the impression that they were thrown together in a day's time. I understand jQuery is not a for-profit organization, but with the amount of resources (coders) that jQuery has available in terms of volunteers I don't see how these forums could be in such poor shape over a year after being rolled out.  Here's my take on my first 3 minutes here: Logging in: Haven't used this forum in awhile, although I was in the old Google group so I was automatically
  • Theme does not cover whole screen.

    On an Ipad the theme does not cover the whole screen area (data-theme="a")
  • Loading external content into a DIV?

    Hey guys, I'm trying to build a web portfolio and I want to be able to load content into a div by clicking on menu items. It seems easy but none of the tutorials or videos work for me. It really is starting to piss me off because all the links on my google search have been visited and still nothing works.
  • jqXHR.abort breaks ajaxStart and ajaxStop

    I am using jqXHR.abort() to cancel pending Ajax requests. However, using abort causes ajaxStart and ajaxStop to break, so I tried the following fix: f_abort = XMLHttpRequest.prototype.abort; XMLHttpRequest.prototype.abort = function() {     $.proxy(f_abort, this)();     if ($.active === 1) {         $.event.trigger("ajaxStop");                   $.active = 0;     } else if ($.active > 1) {         $.active--;     } }; Something that puzzles me is that I can not find where jQuery.active is given an
  • jQuery 1.5: button() fails when id of input contains dots or square brackets

    See fiddle http://jsfiddle.net/kiequoo/Efrzu/2/ The error generated is  Uncaught Syntax error, unrecognized expression: [for=actualResponses[0].answer1] Which suggests the selector being generated to select the label should be [for="actualResponses[0].answer1"] If the id is changed to remove the dots and square brackets it works fine, see http://jsfiddle.net/kiequoo/Efrzu/3/
  • Persistent footers between transitions don't work anymore (since alpha 3)

    Hello,   I've updated an application from the jQueryMobile (alpha 2) to jQueryMobile (alpha 3) and now the footer isn't persistant anymore during transitions . I've set  the "data-position" attribute to "fixed" and gave all footers the same "data-id" attribute.   I've seen that the persistent footer also don't work in the jQueryMobile (alpha 3) demo too (on iPhone and Safari-Browser). (http://jquerymobile.com/demos/1.0a3/#docs/toolbars/footer-persist-a.html)   Is that a known problem since alpha
  • JQuery Taconite plugin not working in IE9

    Hello I develop a website that relies on the Taconite plugin: Jquery Taconite Site The website works in all major browsers IE 6 - 8, Firefox, Chrome and safari. I am using JQuery 1.5.1 and Taconite 3.57 which are both the latest stable releases. As IE9 has now been offically released I decided to test the website within that browser however some elements of taconite seem to break. Here is the HTML page i am using for troubleshooting this problem, very basic. <!DOCTYPE HTML> <html> <head> <script
  • 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