• Global select box display bug??

    It seems like currently there is a fairly large bug in the select box control which variates whether it displays a listview overlay or creates a new page of list items (for small/larger lists of items for usability). Even the jQM example at: http://jquerymobile.com/demos/1.0a2/#docs/forms/forms-selects.html is affected as well it seems. The bug only seems to occur if the amount of items in the select box is reasonably close or more than enough for a full screens worth of select box items but there's
  • ajax.load() seems unable to load HTML5 tags under IE

    Hello, I have a problem when trying to load an HTML5 element with Ajax (jQuery.load ()). Here is a simplified example of the problem. Main page : <!DOCTYPE HTML> <html> <head>     <title>Title</title>     <!--[if lt IE 9]>     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>     <![endif]--> <script type="text/javascript" src="js/jquery/jquery.js"></script> <script type="text/javascript"> <!-- $(document).ready(function() {     $("#loadDivHere").load('ajax/test-ie.php #myDiv');
  • set name parameter does not work in ie7

    Looks like attr("name","value") method is not working to set name attribute value for input type in IE 7. It works fine in IE 8 and other browsers. Method works fine for other attribute in IE 7 e.g. id attribute While setting name attribute it sets 'submitName' attribute and not 'name' attribute. Somehow IE 7 is not allowing to set name attribute dynamically. Test case:  http://jsfiddle.net/zRFnz/3/ I also posted bug to jQuery bug report i.e. http://bugs.jquery.com/ticket/8418 But this issue is showstopper
  • jQuery website width too narrow

    Hi, I like jQuery and the website is nice there is just one thing I hate and can't stand and are totally flabbergasted about. Why is the main content so narrow? 50% of the screen is not used. I little ironic having wonderful jQuery. I'm not sure who updates or maintain the jQuery website but please make it wider or add an option to view it wider. Thanks,
  • fadeTo and IE9 RC

    Im using fadeTo (From 0 to 1) on a div in my homepage. it works fine with all browsers except IE9. while fadein the div jumps to different position on the page , 200px left and sometimes works fine for 1 sec and jump again... does anyone know how to solve this? my website: http://www.taxteam.co.il/ thanks
  • Syntax Error

    I'm trying to put all my scripts into one script file, but when i put jquery in nothing will work because of a syntax error in the minified version. Starting on line 69 there's a quotation mark missing somewhere causing it to not close which in return messes up my comments and scripts below jquery. The uncompressed version doesn't have this error, and i would use it in the file instead except that its over 6000 lines, and makes the filesize large.
  • Script needs to be below ID's

    Following code will not work <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>  <script type="text/javascript"> $('#jQ').click(function() {   alert('Handler for .click() called.'); }); </script>  <input type="button" value="jQuery" id="jQ">However this works <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>  <input type="button" value="jQuery" id="jQ"> <script type="text/javascript">
  • changing pages

    I noticed there are some problems when changing pages.  changing an iframe src then doing $.mobile.changePage() things go screwy going back doesn't always work properly But then I noticed a pattern when I visit my site from dev.example.com/ those bugs appear. But ... iFrame problems go away when I visit my site like dev.example.com/?mobile=1 or dev.example.com/?aoeu I ignore "mobile", and "aoeu" part. I think this may be a corner case in jquery mobile plugin. Replicating is easy: Have a html file
  • Cannot navigate using list items

    Hi guys, first post, great framework. I've noticed when using list items for navigation, the user needs to click on the text to move to the next page. I assume this is because the anchor tag only spans the length of the text. Is there any way around this problem? <li><a href="foo.htm" data-transition="slide">Foo</a></li>
  • Background color less high then the device screen when little content on one page

    Having upgraded to Alpha 3, the grey background that used to cover the entire screen (also when there was only 1 word in the entire page) now only covers the top part. Of course, when there's a more content than fits the screen this problem does not exist. I see this on iPad and Chrome, not under Android (lower resolution) Am I missing something or is this a new, obvious bug gone unnoticed?
  • list item with icon not rendering correctly when added dynamically

    I'm trying to dynamically build a list where each item has an icon. When I try static html such as:  <ul data-role="listview">        <li>             <img src="images/dot.png" class="ui-li-icon"/>             <div><a href="#">some content></a></div>       </li> </ul> everything is fine. When I inspect the <li> element it has the "ui-li-has-icon" class.  However, when I try to dynamically add the same list item, the "ui-li-has-icon" is missing from the list of classes in the <li> element. This is
  • Slider still not working in webos

    I love jQuery Mobile. Keep up the good work jQuery team! It seems both the slider and toggle widgets don't slide in webos 1.5.... or older. I haven't tested it out in webos 2.0 yet. They respond to a tap though... Which is interesting. Jamie Update - I just tested this in webos 2.1 and the same problem is there.
  • Form in li element won't submit

    Hello, a form submit button of a form in a inset styled list is not working, because the JQuery Mobile li click event handlers prevent the submit. Is there any solution? Cheers, Norman
  • Text selecting is not working on browser

    Hi All,                   i am using  jquery first time on my page , one of my user reports me the bug that when he is trying to select something from browser its not working.i think this is a common scenario when user select something from browser and paste in google for serching purpose.   Can anyone tell me what could be the possible reason of this problem??   Thanks in advance. Ankur
  • jQuery 1.5.1 and Adobe Air

    Greetings Everyone,           I have been using jQuery for some time know with great success and today I decided to try my hand at creating an Adobe Air application in Dreamweaver. I made a simple html page (see below) with a button and a span tag to interact with. The page works fine when I run it thought Firefox but when I try to preview (or run it) in Air it doesn't work at all. I did some trouble shooting and discovered that Air is reporting an error when loading jQuery 1.5.1. The error is (which
  • Multi-page template link in Documentation still gives 404

    Is the multi-page link page going to be fixed or linked?  This has been broken since a3. http://jquerymobile.com/demos/1.0a3/#docs/pages/docs-pages.html
  • Using selectmenus in landscape view seems to break navigation on Android (Alpha 2 & 3)

    I noticed that changing a selectmenu's value on a landscape page containing 1 (or more) "selectmenus" seems to break navigation under Android. In Landscape view it seems to try to do an animation to make the selectbox disappear (Reducing it's size quickly until it's gone). This also affects the URL. "&ui-state=dialog" gets added behind the current page hash "#page-config". When I hit the "back" button in the header: the "&ui-state=dialog" disappears, my hash "#page-config" remains, the page turns
  • Breaking changes in Alpha 3(dialogs)

    Are the developers aware that Alpha3 breaks dialogs that were working fine in Alpha2? Alpha3 seems to assume that a dialog is a separate page-- whereas the typical use of dialogs for application developers, in my experience, is to include dynamic data in the dialogs-- so my dialogs are on the same page as the main page-- with the dialog popping up to confirm deletions, warn of incomplete data, etc... The new dialog functionality assumes I want go do a browser 'back' when closing the dialog, which
  • Where to get plugins from? http://dev.jquery.com/ no longer is accessible

    I have a website that relies upon a .js file from: http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js It seems that dev.jquery.com has either been taken down or is having some serious problems. This has been causing me issues and I'm wondering if there is an alternate location I could get a copy of that file from? The fellow that developed the site left an absolute reference to the file which is why I'm having this issue.
  • Error in calling jquery funcion

    Using jquery,I import some content from secondpage to firstpage.. Its working properly but when i give image pop-up jquery funcion in secondpage content its not working... Alone second page run its working corectly..... why?
  • email already registered

    (my apologies to the moderator i have reposted this under another account just five minutes ago, but i thought since i will be using this forum i should create an intended-to-be-used account and write in a piece of paper this time my user name and pass. another apology for posting this in getting started but i couldn't find a support section) i tried creating an account with my standard email and got a message that my email is already registered. my emails are all safe, so i suppose its a false alarm,
  • someone has registered my email

    i was trying to sign up for an account with the jQuery forum, in order to ask this simple question: why isn't jQuery(document.anchors[0]).addClass('enabled'); working... (or any line of code similar, using the document.anchors array of js objects) and i run into a bigger problem, while registering i got the message "your email account is registered with another user" so i created this temp account only to ask if this has anything to do with it being a zoho account, and perhaps i have signed up with
  • Bug in icon-only button

    When create icon-only button ({text:false, icons{primary:"icon-gear"}}) button has class ui-button-text-icon-primary that move primary icon to the left side. If remove class icon moved to center. upd: i see in jquery.ui.button.js line 296: append classes to array line 308: remove classes from element!!! buttonElement.removeClass( "ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary" ); i think this need a fix. line 317: add classes from array => classes overwrited.
  • Using overlay plug-ins

    I found if I use another overlay/dialog plug like Clearbox or fancyBox, I loose the use function of jQuery-Mobile after the overlay initializes. The dialog opens correctly but I notice an "error on page" alert under it - I close the dialog & then nothing else works (ie: swipes & even the back btn on the device & a Chrome browser) only the plug(dialog).   This what triggers the overlay:  <a href="res/img/f1_1.jpg" rel="clearbox">Figure 1-1</a>   If I add: <target="something"> to the <a> tag, the alert
  • jquery form send only element into data: attribute

    Sorry I have a problem, i have this form  <form id="main_form" name="main_form" enctype="multipart/form-data" method="post">       <div class="content">         <ul>             <li>                 <h3>Cognome</h3>                 <input type="text" id="main_cognome" size="20" maxlength="30" />             </li>             <li>                 <h3>Nome</h3>                 <input type="text" id="main_nome" size="20" maxlength="30" />             </li>             <li>                 <h3>Codice
  • .css does not update in firefox? works in chrome and safari

    Here is a small demo of a iphone like checkbox I want to use in some forms. the problem is the .css({'background-position-y':'0px'}) or .css('background-position-y', '0px'); won't work in firefox? <html>     <head>         <style type="text/css">             ul.check-box li{                 list-style:none inside none;                 v-align: center;             }             li.on-off{                 background: url("http://static.blacknight.ie/gibo/images/checkbox_on_off.png") no-repeat scroll
  • jquery 1.5 and IE 9 RC, won't work

    When trying to use jquery 1.5 with IE 9 RC I get an error saying that at line 5460, character 4, propery or method getElementsByTagName is not supported. Is this a jquery bug or an IE one?
  • calender help can anyone help ???

    hi i need to do a concept using calender where i need to put a list of holidays . the holidays days alone should be an image and when i click an the holiday a new pop up window should open up   with the name of the holiday.. can anyone help  pls ?????????????????
  • jquery.hotkeys (https://github.com/jeresig/jquery.hotkeys) not working with live event?

    Hello, normally one would .bind() all keydown mappings, but i need some .live() keydown mappings. Does .live() support special handlers like this (in jquery.hotkeys.js)? jQuery.each([ "keydown", "keyup", "keypress" ], function() {   jQuery.event.special[ this ] = { add: keyHandler }; }); In my case i try to setup the live event as follows: $(":input").live('keydown', 'esc', function(){ $(this).blur(); return false; }); That doesn't get triggered at all. Sorry for editing this entry multiple times.
  • Remove Formatting no longer removing html tags?

    It seems as though the removeFormatting button is no longer removing tags. For example, i'm going to paste some code from another response i just made, select it, and click remove formatting: Copy code $.datepicker.setDefaults({       dateFormat: 'dd/mm/yy' }); // elsewhere in your code $(selector).datepicker(); $(someotherselector).datepicker(); It does do something, but it no longer removes the tags around the text. This makes modifying code that someone pastes from some other editor a real pain.
  • Checked radio element creation

    Can anyone tell me why jQuery isn't checking radios built with element creation? var radio = $("<input />", { type: 'radio' }).attr('checked', true); // or .attr('checked', 'checked'); This produces <input type="radio" /> All other attributes work fine, just not checked... Am I going mad or is this a bug? (Tried with 1.4.x & 1.5.0)
  • jQuery LOAD Issues with IE

    I am struggling with ajax load in Internet Explorer.  It works in all of the other browsers I have tried. Have a look at: http://www.creativelunch.com/atesore/user/profile/rwap_software When the ajax.load function is called to load the Active Items content, I get an IE error: Line: 307642184 Error: Not implemented The code used to load this page is quite simple: //show loading bar function showLoading(activeTab){     $('#loading-' + activeTab)     .css({visibility : "visible"})     .css({opacity
  • Dialogs as Pages - doesn't seem like a good idea

    I don't think the model of making a dialog a page is a great idea.  It seems more logical that a dialog could be put in a page. In a practical sense, assuming you are using a master page/rails layout on the server it would seem you'd want the content to be a single page, but that doesn't fly if you need to generate multiple pages to render a page.  So, seems the master page could not fully contain the header/footer of your overall layout, because you actually have to define page-specific dialogs
  • [validate] no validation method dateDE BUT possible solution!

    Hi all, I'm quite new to jquery and a total noob, however today I came across this nice validation plugin but had some problems with it. I downloaded it via the "Download" link from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I have a small form where a German date (i.e. 1.1.2011 or 01.01.2011) should be inserted by a user. So looked up the API on http://docs.jquery.com/Plugins/Validation#Options_for_the_validate.28.29_method for the needed method and there it was documented: dateDE
  • Loading a div and reLoading an other div + alert [Beginner]

    Hi,  this is my process : 1/ I display containing div, 2/ I click on  containing div area 3/ containing div is removed 4/ containing2 div is displayed 5/ I click on  containing2 div area 6/ I print alert "containingCL2" The problem is between step 5 and 6 because the alert is never printed. I guess jquery does not manage to detect the click event onto the containing div2 as this div is not native but generated. This is my HTML code <div id="container"> <div id="containing" class="containingCL"> Blabla
  • UI modal Dialog overlay is not transparent in IE 8

    When a modal UI Dialog is shown the overlay is not transparent so only the dialog is visible in IE 8. This also happens in http://jqueryui.com/demos/dialog/#modal-message so this issue is very easy to repeat! Also a horizontal scrollbar appears when the dialog is shown. In Firefox it's no problem. What wrong? Ron
  • Duplicate first option text on select dropdown on Palm emulator caused by data-native-menu

    There seems to be a bug when using data-native-menu on the Palm emulator, the first options text is duplicated and displayed on the left side of the dropdown.
  • Bug in jQuery / jQuery UI

    Hi, first of all, sorry for my bad english, I'm from Germany. I have a problem with jQuery, the first, but it is a big one. But the bigger problem is, that my Firefox and my Chorme developer tools don't throw an error. The situation: I have a site with jqGrid, if click on a row, than it opened a jQuery modal dialog, here I use jQuery UI Tabs and so on, no problems, but there is a "Answer" link in that dialog, if I click on that a second modal dialog opens with two multiselect jQuery controls and
  • pageLoading animation never shows on iPad, only once on Android, always in Chrome

    I've got a simple app that reloads a list based on whether a value has changed (in another page) So, when the "pageshow" event triggers on the list containing page, I reload the list if needed. When reloading this list I run: $.mobile.pageLoading(); And when done: $.mobile.pageLoading(true); This: never works on the iPad (iOS 4.2.1) works once on my Nexus One (Android 2.2.2). When I reload the entire app it works again, once. No matter how many times the list needs reloading, it always works in Chrome
  • [unexpected event occurring] Swipe Event Occurs When I Scroll Vertically

    (jQuery Mobile alpha3) Swipe event occurs unexpectedly  when I scroll vertically. This is the code, which handle swipe event(line 660): if ( stop.time - start.time < 1000 &&     Math.abs( start.coords[0] - stop.coords[0]) > 30 &&     Math.abs( start.coords[1] - stop.coords[1]) < 75 ) {* 1. distance between start.x and stop.x should be more than 30 * 2. distance between start.y and stop.y should be less than 75 This is the condition of swipe event occurring. It looks like proper, but the condition
  • 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