• .val method returning "on" for dynamically created radio buttons in ie9

    Hi, If I dynamically create a radio button via "createElement" and then use the :checked selector and the val method I get "on" returned in ie9.  This doesn't happen with a radio button created via HTML. Test code: <div id="test"></div><input type="submit" onclick="window.alert (jQuery('#test input:checked').val ());" value="Click Me!" /><script src="/js/jquery-1.5.1.js"></script><script> jQuery.noConflict (); var el = window.document.createElement ('input'); el.setAttribute ('name', 'hello'); el.setAttribute
  • The same id radio buttons dosent work on post form.

    Here is a script and its uses a latest jquery $(function() { $(".submit").click(function() {     var name = $("#name").val();     var surname = $("#surname").val();     var gender = $("#gender").val();     var birthyear = $("#birthyear").val();     var birthmonth = $("#birthmonth").val();     var birthday = $("#birthday").val();     var town = $("#town").val();     var country = $("#country").val();     var postalcode = $("#postalcode").val();     var dataString = 'name='+ name + '&surname=' + surname + '&gender=' + gender + '&birthyear=' + birthyear + '&birthmonth=' + birthmonth + '&birthday=' + birthday + '&town=' + town + '&country=' + country + '&postalcode=' + postalcode;
  • slideToggle stopped working in IE 9

    Hi, I've had no problems until I upgraded to IE 9.  I'm running jquery 1.4.4 and also tried it with the newest version.  In IE 9, it will work if I switch the browser to IE 8 Standards Mode.  When I switch it back to IE 9 Standards it stops working.  By stop working I mean I click on the button and nothing happens. Here is the javascript: jQuery.noConflict(); var $j = jQuery; $j(document).ready(function () { $j('div.menu_class').click(function () { $j('ul.the_menu').slideToggle('medium'); });
  • IE9 does not properly support the complete property of an image

    Don't really think this is related to jQuery but I thought I would post it here in case someone else was having a problem. I have a plug-in I made that uses an image preloader involving the jquery .load() function. Once all images are preloaded, a function is fired to initiate the plugin. If the image is already loaded in the cache, the script checks the .complete property of the image to see if it is true, then manually fires the callback function for the load script. Here is the code:          
  • Button links not working after login on Motorola touch with Android v1.5

    I am testing a proof of concept on a client of mine. The owner has a BlackBerry OS v5+ and installed Opera Mini and its working like a charm. On the other hand, one of her employees just purchased a Motorola touch that came with Android v1.5 and its native browser is working but after she logs in the top buttons I added on the toolbar stop working. After she installed Opera Mini and navigated the application it does not show the framework's styles. Example: <a href="/Controller/Action" data-theme="b"
  • PLEASE fix the Plugin 'Issues' website - it is unusable!

    The "issues" component of plugins.jquery.com has been virtually unusable for months. In every browser, the page response is absurdly slow and the CAPTA feature is a mess. I keep trying to respond to issue postings on my plug-ins, but it can literally take 15 minutes to write 2 sentences! Then when I try to post, I go into CAPTA hell. There appears to be 2 different systems being used, so after you complete the first one, it says you didn't and presents another one - of a different type. Then when
  • Change to QUnit.log requires doc/blog updates

    FYI, The Overhaul of QUnit.callbacks change changed QUnit.log in a way that makes it inconsistent with the documentation at http://docs.jquery.com/Qunit. QUnit.log now takes an single properties object rather than individual arguments. d
  • IE won't remove dropped draggables

    I've set up a sortable list and a space where you can drag items to where they'll be deleted. The relevant code is as follows: [code] function initUI() {     // Set up people list     $("#people").sortable(     {         containment: "document",         tolerance:   "pointer",         connectWith: "#del_space",         update:      function(event, ui) { updateList(); }     });         // Set up delete space     $("#del_space").droppable(     {         accept: "#people > li",         drop: function(event,
  • Bug in select menu form

    Hi, I find a bug that you can reproduce with the JQM demo http://jquerymobile.com/demos/1.0a3/#docs/forms/forms-selects.html clic to Select a state, many option to show, so it's create a new dialog page. The URL become: http://jquerymobile.com/demos/1.0a3/#docs/forms/forms-selects.html&ui-state=dialog I clic on Alabama, this close the dialog page but the URL still: http://jquerymobile.com/demos/1.0a3/#docs/forms/forms-selects.html&ui-state=dialog and if I try to clic to the back button..... the Ajax
  • jQuery] [SVG] small animation problem

    I noticed that a strange behaviour happens if one tries to animate a transform property  to the current translation: x = tool.svg.rect(10,10,50,50,{fill:'black'}) $(x).animate({svgTransform:'translate(10 10)'}) //wait for animation to compete $(x).animate({svgTransform:'translate(10 10)'})
  • minDate Not Working in IE(8)

    Hello, I am using the following code for a booking calendar. [code] <? $dte=$_GET['dte']; ?> <? $date=date('Y-m-d'); $mqry=mysql_query("select distinct date from calendar where date > '$date' and  ctr='1'"); ?>  <script type="text/javascript"> var dateList = new Array(); <? while($marr=mysql_fetch_array($mqry)) { ?> dateList.push("<? echo $marr['date']; ?>"); <? } ?> </script> <script type="text/javascript"> StartDate = new Date('<?= $dte ?>'); $("#date").datepicker({ minDate: StartDate, dateFormat:
  • Jquery Version Conflict

    <head> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jtip.js"></script>        </head>      <body>        <!-- Slider Content -->         <script type="text/javascript" src="js/jquery1.js"></script>         <script type="text/javascript" src="js/jquery.easing.1.3.js"></script>         <script type="text/javascript">             $(function() {             <!-- Function parameters -->             });         </script>                    <div class="container">
  • Browser scrolls when starting sort

    This issue might be related to http://forum.jquery.com/topic/sortable-offset-when-element-is-dragged-and-page-scrolled-down-ff I have a sortable list on a page, user needs to scroll at the bottom of the page down to see the list. There are some relative positioned divs in the DOM hierarchy (which I believe is the cause of the problem). When an item is moved, it gets positioned absolutely - jQuery UI 1.8.10 line 3289 (the line above is a comment: TODO: Still need to figure out a way to make relative
  • jQuery Form not sending small textarea inputs

    Hello, This is my first time using the forums, so please excuse me if I do something wrong. On my website I am using jQuery 1.5.1 and the latest jQuery Form plugin.  Wherever I have a textarea input, small inputs of less than about 10 characters fail to be sent to the server.  For example, if I have a form: <form id="someform" method="post"> <textarea name="foo"></textarea> <input type="submit" value="Send" /> </form>If I enter a simple "bar" or even "bar bar" into the field and press the submit
  • ListView Back Button Not Working in iPhone - example for Jquery folks

    Hi guys -   Please try your demo:   http://jquerymobile.com/demos/1.0a3/docs/lists/lists-nested.html   using an iPhone or simulator - navigate down a nested list (a UL with data-role=listview).  I'm using BlackBaud Lab's iPhone simulator, which exhibits the "back button not working" issue:   http://labs.blackbaud.com/NetCommunity/Page.aspx?pid=249   This will illustrate how the Back button doesn't work on ListView doesn't work on your own example.   Thanks!
  • "Uncaught ReferenceError" only on Chrome

    Hi, how are you?, I have been developping a web for a few time, and yesterday I watched in Chrome doesn't works Jquery!. I use normally Firefox and it works perfectly, but on Chrome show many errors like this one: Uncaught ReferenceError: Login is not defined (anonymous function)localhost:23 onclick   I attach the <head> (because I saw normally the problem is here): <head>     <script type="text/javascript" src="administracion/jquery/jquery-1.4.4.min.js"></script>     <script type="text/javascript" src="administracion/jquery/jquery-ui-1.8.9.custom.min.js"></script>
  • $.find() does not find tags on inserted XSLT content

    I wanted to parse through an XML document that has not been loaded via AJAX. Normally find() has no problems with finding the nodes when I search for tags but if you insert the content via xslt, it strangely is not able to find any node! Example: XSLT: <div id="xmlData"> <newdoc> <xsl:copy-of select="."/> </newdoc> </div> Produces the following HTML: <div id="xmlData"> <newdoc> <change name="change1" task="say hello">Comment 1</change> </newdoc> </div> Accessing with jQuery: $xml = $('#xmlData');
  • Issue when switching pages

    I am building my first site using jquery mobile, and am having some issues when switching pages. When I go from my first page to my second (which is longer than the screen) it loads to where the footer is on the bottom of the screen and I am able to scroll down past the footer, but not up to the top to see my header and back buttons, etc. I've tested it in chrome, dolphin browser for android, and on my ipod touch. Now, I'm only in the wire framing portion of the site, so the code may be a little
  • exception thrown and not caught in most recent jquery min

    Not sure how much this can actually influence anything, I'm getting a warning message from internet explorer's javascript debugger for jquery.min.js (I load the most recent version from Google's CDN): Error details Web page User agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Timestamp: Sun, 6 Mar 2011 14:40:13 UTC Message: Exception thrown and not caught Line:
  • Why doesn't JQuery Mobile change to the proper URL (nav bar) when clicking on exernal links?

    Hi everyone -   I just noticed that when I'm navigating around my app, the URL doesn't seem to change.  Specifically, I start on a page, default.aspx.  I've got some UL listview links.  I click on a link, for instance, "product_list.aspx".  The page renders with the list of products, however the URL in the Navigation Bar stays as /default.aspx!!!   Since I'm using .NET, this causes all sorts of havoc when I try to click on "pager" links (they do a postback to the local page, however, they think the
  • Form submit from dialog page

    Hi there I'm new to jQM and love it so far, I think it's much better than Alpha right now :) However, I ran into an error now that I can't find a solution on the web and I think my code is about right. I open a dialog using a link: <a href="city.php" data-role="button" data-rel="dialog" data-transition="pop">open my dialog...</a>Then on the dialog I have a form, the whole city.php looks like this: <div data-role="page" data-theme="a" id="cityPage">     <div data-role="header">         <h1>headertext</h1>
  • Autocomplete Dropping 'at' @ Sign in Email Addresses

    My applicaiton uses jQuery autocomplete and I noticed that when I type an email address (e.g. someone@somewhere.com) the autocomplete feature works up until I type in the "at" sign.  As soon as I enter the @, the autocomplete stops working and the autocomplete suggestion box disappears.   When I looked into the issue further, I realized that the string from my input field that is passed along to my autocomplete look-up script is being cut off at the @ sign.  In other words, I can type in   someone@so
  • Alpha 2's secondary page/dialog CSS appears broken (Safari)

    I cut and pasted the example page transition code from here: http://jquerymobile.com/demos/1.0a2/#docs/pages/docs-pages.html (specifically the "Complete Single Page Template") into two files, test1.html and test2.html.  I then changed the content in test1.html so that it contained a link to test2.html. That all worked fine.  When however I changed the three JQueryMobile includes at the top of test1.html so that it pointed to the alpha2 release (rather than alpha1, which the example code still uses),
  • Disabled checkbox still selectable?

    Disabling items in select boxes works, but when I disable a checkbox, I can still check it. <input type="checkbox" name="cb" id="cb" disabled="disabled" checked="checked" /> <label for="cb">I can still be klicked</label>Anyone else ran into this? Rgs, Frequent
  • Main page might be created twice with different data-url when using multiple page-files

    Let's say we have two pages in two separate HTML-files: <!DOCTYPE html> <html>     <head>         <title>Title</title>         <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />                 <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.js"></script>         <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>     </head>     <body>         <div data-role="page" id="first">
  • Problem while submitting # with ajax

    There is a problem with submitting # from the form. Some content get truncated and some variables disappear after submitting. Take a look at the following code and try to fill both fields with: TEST#TEST#TEST <div id="POSTINI_FRAME"></div> <table>                         <tr>                           <td class="row_B1_2">Subject</td>                           <td class="row_B1_1x left">                             <input type="text" name="cas14" class="long postini" />                           
  • Text only button in 1.8.10 does not center icon

    This can clearly be seen on the jQuery UI demo page at http://jqueryui.com/demos/button/#icons The leftmost button with { text: false; } has it's icon on the left rather than centrally.  This was not the case with jQuery UI 1.8.9
  • :last-child with text elements

    I'm trying to find the trailing <br/>s from a <p> using the 'br:last-child' selector and I find surprising that in a context like: <p>some text<br/>and some more text</p>$('p br:last-child') returns the <br/> although there is a text node after it. I suspect there may be an issue because if you get the returned <br/>: var br = $('p br:last-child')[0];and get its parent's last child walking the DOM properties: br.parentNode.lastChildyou get the text node containing "and some more text". So, should
  • is this a bug ?---conditional logic problem when use options in tmpl plugin

    please execute the following code. I can not get the value 'A' from ${$item.abcd[getI()]}  ! Even though getI() is 0 !  It seems it is a tmpl bug ! Jquey tmpl plugin is urgly! For some reason I have to try to use it! Jtemplate is better ! If you know the answer please give me an email to jiangdy@jhcc.co.jp  Thanks ! ----------------------------------------------code------------------------------------------------- <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title>未命名頁面</title>     <script
  • IE9 RC problem with JQUI dialog

    This is a very strange problem. I have a page with: -- a div containing a link -- another link that, when clicked, creates a new dialog window who's content is pulled from the div The problem is that in IE9 the dialog can be created and closed, and then never opened again. What's really happening is that the whole page seems to freeze (not the browser, just the screen). I don't mean it crashes, I mean it just doesn't draw any new changes (like the dialog being opened a 2nd time). After you click
  • Grouped buttons inside toolbar result in broken layout

    The following markup results in a broken layout (tested FF 3.6.15 and Chrome 9.0.597.98): <div data-role="page" id="thread">     <div data-role="header" data-backbtn="false">         <a id="backToBoard" data-direction="reverse" data-icon="arrow-l" data-iconpos="notext">Back</a>         <h1 id="threadTitle">Title</h1>         <div data-role="controlgroup" data-type="horizontal">             <a id="refreshButton" data-icon="refresh" data-theme="b" data-iconpos="notext" data-role="button">Refresh</a>
  • Creating elements & setting attributes with a namespace.

    Hey guys! I'm working on an app, which creates visualizations based on SVG. I was using jQuery SVG by Keith Wood at first ( http://keith-wood.name/svgRef.html ), but at some point I've noticed that it's very inconvenient for some stuff and wrote my own functions to handle everything. One of the quirks when creating svg trees dynamically is that you have to create all elements and set attributes using the SVG namespace ("http://www.w3.org/2000/svg"), otherwise they aren't rendered correctly by browsers. 
  • Problem with function repeating itself...

    Hello, I've got a problem with a function. The Script and Demo can be seen here (To call the alert click on the element with the content "T2"). It's a little sample of my new project I'm working on. The thing is the more often the function is called the more often I get alert with old content. For example if I've called the function for the second time I get two alerts. The first one with the content of the first execution and second alert with the content. Where is the problem in this function?
  • data link and ajax

    Trying to use an object that is linked with the new data link plugin as the data for an ajax call fails without first unlinking the object. Doesn't work: var obj = {}; $('#main_form').link(obj); $.post('ajax_repeat.php', obj);The above will output an error: 'ev is undefined' for line 90: var target = ev.target, Works: var obj = {}; $('#main_form').link(obj); $('#main_form').unlink(obj); $.post('ajax_repeat.php', obj); $('#main_form').link(obj);
  • Problem with function repeating itself

    Hey, I've got a big problem with one of my functions I need for my project. Everything works fine except of the thing that the function repeats the more often you call it. For example if you called it the first time everything works fine. But the second time the first call gets repeated as well as the new one, so I get two functions... A little sample of this code can be found here. To see the problem click on the Divs containing "T2" and leave the Popup. You'll get an alert. Thanks a lot, picola
  • Problem using $.each() on json containing "length" key

    When trying to iterate over data using jquery's each() function, if my json contains a key named "length", I don't get any results. This json works: echo '{"title":"test","lengths":"3"}'; This doesn't: echo '{"title":"test","length":"3"}'; I'm using jquery and jquery ui. Anyone know how to avoid this problem? Here is my code:             $.ajax({                 url: "http://example.com/page.php",                 type: "GET",                 dataType: "json",                 success: function(json){
  • jQuery UI Sortable overlapping with css-overflow flickering

    Sortable overlapping with css-overflow flickering. Firefox 3.6 The problem I've countered is represented in jsfiddle - http://jsfiddle.net/peterthegreat/B6Fae/ Take one of the top "Youtube"-links and drag them around and you will notice some flickering because the element is struggling between the overflowed hidden elements and the parent-div.
  • Error with using method getJSON in jQuery 1.5.1

    I've used in my project jQuery 1.4.4, decided to move to version 1.5.1 and I have a problem with method getJSON. My JS code:         $.getJSON("<s:url action="checkRegistryErrorsNumber" includeParams="none" />",                          {"registry.id": <s:property value="registry.id" />},                         function(data) {                             $("#errorsNumber").text(data.errorsNumber);                             if (data.errorMessage != "") {                                 $("#messagesBlock").html(data.errorMessage);
  • Bug report: jQuery.Form error when ajax error happen

    I used version is jQuery: 1.5.1 jQuery.Form: 2.63 When the form submit ajax error happened (like the server resported over time), Firefox will report err: jquery.form-2.63.js line 378: s.error is undefined
  • Error message in IE8, functional in Firefox.

    Simple routine to fadeOut a <div>, change the src in the <img> tag and text in the header, and then fadeIn the <div>.  Works fine in Firefox, receive this error in IE8.  New to Jquery, not sure where to look for a solution. Message: Unexpected call to method or property access. Line: 16 Char: 66797 Code: 0 URI: http://www.broncosoccer.com/jquery/jquery1.5.1.js $(document).ready(function () {     // EXPANDED IMAGE DISPLAY //     $(".imagePanel").mouseover(         function () {             var playerName
  • 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