• Ajax returns empty

    Hi there, I have an ajax request on my page. I have a select form element on my page, named sz1, the ossz text input's value should be altered. $(document).ready(function () { $('[name="sz1"]').change(function () {         var szolgjs = $(this).val();         var dataString = 'szolgjs=' + szolgjs;         $.ajax({             type: "POST",             url: "urlapar.php",             data: dataString,             cache: false,             success: function (html)             {                 $('[name="ossz"]').val(html);
  • Response header not being set with Malsup Jquery form plugin

    I have a web application written mostly in xQuery that uses Malsups Ajax form plugin to submit a webform via an Ajax call.  I'm having an issue in IE9 where the header X-Requested-With: XMLHttpRequest is not included in the server request. The header is there when I try in Chrome, Firefox, and even IE10. Is there a reason why this header doesn't get added in IE9 and is there a quick way I can manually add it? Please see my post on StackOverflow here to see a code snippet and a more detailed description:
  • tabs - click and mouseenter, mouseleave

    I have had problem with using tabs. I tried to implement tabs functionality for example as site http://mashable.com. Tabs can be hover and show tab content by hover. If I click tab, tab content should be hidden, unvisible UNTIL mouseleave <li>. If I again mouseenter, tab content will be shown. I have had problem with combine hover and click. With this code, I have problems like: 1. Page load - if tabs up and down during page load, tab content is shown because of mouseenter despite of click tab 2.
  • Trying to convince my Managers

    Greetings   First, let me apologize for posting here, but I could not find a forum or form where I can send this directly to the JQuery Project Team.   The company I work for has a non open source policy. I would like to start using jQuery in my applications. My managers are looking for assurances that any security issues will be dealt with promptly. I have heard all the arguments for open source, but what I am looking for is a document outlining the process or past responses to issues.   I have
  • jScrollpane is safe for wordpress?

    Hi, My website hacked by come Canadian pharmacy... . Google sent me lots of notification( your website is compromising  and bla bla bla). I asked godady( domain name provider) what happen with my website, they filtering my website and send me a mail. In-short: Using unsecure plugins I think its jScrollpane plugin(maybe). Anyone have had same experience like me. Make money by renting homes
  • JQuery slide starts again instead of looping

    I have made a website with an JQuery slideshow in it. It works fine, but there is one problem: When it reaches the last picture the slideshow goes back to the first one (you can see that is goes back, all the pictures will appear in a splitsecond). What I want is that the slideshow is kind of a looping. Hope someone can help me out with it. This is the code of the slideshow: $(document).ready(function(){  /* This code is executed after the DOM has been completely loaded */    var totWidth=0;  var
  • [MYSQL/PHP]How to display a query dynamicly

    Hello, I have two lines of results for a mysql query : line 1 : 1 // 5 // Conception et mise en oeuvre d'une politique de communication // 2013-06-11 // 2013-06-13 // 15 line 2 : 5 // 3 // Evaluer une association : transparence et efficacité // 2013-06-10 // 2013-06-15 // 15 I want this "design" in a div : Name :      Places : Date ;      Book it ! All lines will appear one by one, every 30s My PHP code :   <div class="reserver"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  • Disabling UI format on individual element

    I seem to be having issues with iPads not allowing selection of UI formatted drop down options for Jquery 1.6.2. Jquery seems to render <select/option> tags in to UL/LIs.. can I disable that on this individual drop down to work around this issue? Or is there something else I can do to enable the drop downs on iPads without having to jump across to JQM or upgrading versions.
  • Is there a way to use 2 jQuery libraries at once?

    I am trying to use the Flexslider2 plug-in on a website that is using the 1.3.2 library; the slider only works with versions 1.4.2+.  If I reference a newer library, other functionality on the site breaks. I don't have the ability to update the reference to the 1.3.2 library, or modify that piece of the site at all; only update a "zone" on a page via a CMS.  These are the scripts I'm using in that zone which is resulting in an error that says TypeError: slider.slides.first is not a function var slide
  • jQuery animate step function for-loop

    Hey guys, I'm creating a bar that fills up if you click on different points on it. The bar fills up with a different animation as the points. To fill up the points I decide to check his current position inside the step function of animate. After it i try to get the dot positions and compare it to the current pointer position. The problem is that the for-loop seems to repeat for every pixel that the pointer moves, so the dots are flickering.     progressBar : function()     {                 var _currentPinpos
  • Closing Modal screen not working

    Hello, Im trying to close all modal screens when I either mouseleave or blur. But so far I cant get any of them to work. Im using the same functions in my close button and it works correctly. The mouseleave/blur event is firing because it is displayed on the console.log. $(".theeye").mouseleave(function(){            console.log("blur");                                    $(".ui-dialog-content").dialog("close");        $("#modal").empty();                         });                              
  • Autocomplete won't close on select when nested in dialog

    I posted on this, with lots of details, at stack overflow, but never could get a resolution, and I need some help.  I'm trying to use several autocomplete text boxes in a dialog form created via django, with the html loaded via an ajax .load.  The autocomplete data loads just fine, the search works fine, and the select works fine, except that I can never get the autocomplete to close once it's opened.  I really need to be able to use autocomplete, but this is obviously a deal breaking issue.  I get
  • use jquery to display iframe from href click event

    I have a form that displays data in a table.  Currently each line of the table contains an href statement that takes to user to a new form:  echo '<td ><a href="newparse.php?EmailID='.$row->EmailID.'">'.$row->EmailFileName.'</a></td>'; This works fine, but what would be better is to display the newparse.php form on the same page when the user click the href.  I understand I can use an IFrame to display the form inside my form.  The question I have is how do you code the href to show the newparse.php
  • Problem with getting corect width and height

    Hello, I wrote application where I used JQuery.iviewer (https://github.com/can3p/iviewer/wiki it's preview browser for image). I had a problem with fit function because it has container width and height = 100 (percent from css) so the image is not correct fiting. I modified function fit (to take actual container width and height):     this.options.height = $(this.container).height();      this.options.width = $(this.container).width(); but it still giving me value 100 (both for width and height).
  • Adding a Next/Prev that moves images in a "carousel" fasion.

    We have a lightbox slider on our website, and it contains a little carousel at the bottom with clickable images. When you click one, it displays larger in the center of the lightbox.  I'm trying to add next/prev actions to the thumbnail carousel slider, so that a user can click next, and see 5 more thumbnails they could potentially click on.. if that makes sense.  Right now the script tied to the carousel is  /**  * Set the gallery thumbnails  */ (function($) { $.fn.setThumbnailData = function( gallery_id,
  • How to add a link inside the collapsible title(<h3>)

    I need to add somthing like the "split button" that comes with ListView to the "collapsible" title!   I did try to add a hyper link <a> inside <h3> inside the "collapsible", but when click on it, it just expand the content, and not go to the link target (href value). <div data-role="collapsible-set" data-theme="i" data-content-theme="g">     <div data-role="collapsible">                 <h3> BreakFast      <a href="#somthing">icon img</a> </h3> <p> the contents comes here. </p> </div> </div> As I
  • Instant [in template] jquery did not work on ASP.Net site?

    Hi guys, I am too new with jquery and don't know anything :( I have some problems with jquery when I used it my site which came from this template. The skins work fine live demo which I linked altough I cannot use it very well. I did not change anything, just remove the content area from master page and all scripts are bottom of the page in the form area. I guess there is something wrong or missing but I do not know which are?
  • [Help Me] Jquery probelm ?

    In my html page i want to use two functionality that are image gallery when click on image it show in light box. as well as i want to load image when scrolling down . example: like same in facebook image gallery . For load content when scrolling.  i use this example http://masonry.desandro.com/demos/infinite-scroll.html here jquery version: 1.7.1.min.js For image light-box gallery i use this color box.. http://www.jacklmoore.com/colorbox here jquery  version: 1.9.0 When i use both example in one
  • Autocomplete Textbox - Get multiple value

    My PHP file returns "suppliername" which will be listed in the autocomplete textbox using JQuery. I just want to store the "supplierid" in the hidden textbox when I choose a suppliername from the list. The code for dataentry screen follows : <html> <head> <script type="text/javascript" src="jquery-1.2.1.pack.js"></script> <script type="text/javascript">     function lookup(inputString) {         if(inputString.length == 0) {             // Hide the suggestion box.             $('#suggestions').hide();
  • How to dynamically load and append new data to the same exapanded collapsible div section on scroll down event.

    using jquery mobile collapsible set(accordian) div,i have loaded multiple sections with data.On expanding a collapsible section div, i need to show only first 20 data from server side. While scrolling down and on reaching the end of 20 th data of expanded collapsible div section,i need load to next 20 data from server side and append it at the end of same expanded collapsible section. What event or listener to be used to detect cursor  scroll down event has reached the end of expanded collapsible
  • [HELP Me]Jquery work half page not work in other half page?

    Hello JKings, yesterday i post one question and sudden reply than x for that very happy from response and my problem also solve. Now One More problem give me tension a lot , I am using 2 jquery for images conatin html page,  1 for the COLORBOX jqury and other for INFINITE SCROLLING jquery Here is my demo of hte page .. link http://demo.vthinksolution.com/jdemo/ in this page When You click on IMAGE image comes in lightbox (colorbox jqury) , it works perfect after that when u scroll down to the page
  • Listview into Panel

    I put a listview inside a div with jquery iscroll to then view this in a panel, but the result does not work very well. The search input, of the listview, is not selectable. Why do you create tags or functions that create automatically this type of listview in a panel?
  • Using Tooltip with img alt attribute

    I want Tooltip to display my img tags' alt attribute text. I am a newcomer to jQuery and jQuery UI so I am still on the steepest portion of the learning curve. The UI Tooltip API provides an example of how to change from the default attribute ('title') to the img alt attribute. In doing so it shows how to use the Tooltip items option (http://api.jqueryui.com/tooltip/#option-items). It also states, "When changing this option, you likely need to also change the content option." However, the content
  • JSONP unit test failing with REST-like callback

    Hi, I'm just starting with trying to contribute to jQuery, so the first thing I did was to setup the unit testing environment. I setup nginx, PHP5 and FastCGI. What I did exactly can be read here: http://www.iovene.com/996/ I'm running tests against the current git master (bfc61b879e9e94ef7c6b31919b7f287ffdf180a8), and I have 6 failing. One is "JSON results returned (GET, REST-like)". The reason seems to be that the unit tests makes an AJAX request to http://localhost/test/data/jsonp.php/jQuery2000971086542820558_1359025716914?_=1359025716915
  • Validation message position is not updating on resize of window

    I am facing problem with showing validation message in a proper position when change the size of the window, am using jquery validation engine along jquery mobile. When I submit the form the validation message will appear at correct position when rotate the screen or resize it the message will not move to its proper field it will remain in the 1st position itself. Please guide regarding this. Thanks
  • addClass working, toggleClass not

    I have a p element that opens a info box on click. This info box can then be closed by two links within the box itself. This is my html: <p class="link"></p> <div class="box hidden">     <a class="close">[...]</a>     <div>[...]</div>     <a class="close-link">[...]</a>    </div>    And this my js:     <script type="text/javascript">         jQuery(".link").click(function(){             jQuery(this).next("div").addClass("hidden");         });         jQuery(".close-link").click(function(){        
  • jQuery width returning value in percent - how to fix

    Hello, I wrote application where I used JQuery.iviewer (https://github.com/can3p/iviewer/wiki it's preview browser for image). I had a problem with fit function because it has container width and height = 100 (percent from css) so the image is not correct fiting. I modified function fit (to take actual container width and height): this.options.height = $(this.container).height();  this.options.width = $(this.container).width();but it still giving me value 100 (both for width and height). the strange
  • autocomplete in ASP.NET using ScriptManager broken in Firefox with jQuery 1.9.0

    I have spent a couple of days on this and narrowed down the issue.  I am using the autocomplete with the new jQuery 1.9.0 and during the select function of the autocomplete I call __doPostBack to send the result back to ASP.NET.  Here is my code:     <script type="text/javascript">          $(document).ready(function () {             $('.QuickSearch').each(function (index, value) {                  var QuickSearchURL = $(this).attr('qsURL');                  var QuickSearchWidth = $(this).attr('qsWidth');
  • How to correctly position the JQuery UI slider button?

    I have been trying to explore about JQuery UI and I am trying the slider. The trouble I am having is that the slider button I created would either extend to the left or right which goes beyond the with of the slider. I have tried to make my slider button a transparent image with larger with hoping that the size of the image background will do the trick but it still does not work. I have also tried to put margin-left: -59px; On the id of the image slider but it is still leading me to the initial problem.
  • ShowLoadMSG between internal changePage

    Hi everybody, I got a issue and i cant fix it. My target is to show a loadmsg like $.mobile.showPageLoadingMsg(); but not for external call but rather for internal pagechange. How can i fix this ? In my example i got one page wich loads before change a list with a lot of picture and i want to show before change a loadmsg. All pages are in one file. Thanks for every Help.  Best Reguards
  • DOM manipulation on iPad 1 doesn't update without touch

    We use a custom built codebase that's leveraged on jQuery, and for the most part, it works flawlessly all over the place.  The iPad 1, though, is a different story.  One particularly aggravating aspect is that in certain instances, addition and removal of classes to div elements will not be visually reflected without touching elsewhere on the screen.   Does anyone know if there's a solution for this?  I try to keep DOM manipulation to a minimum, but this is essential.  Any help would be appreciated
  • search option in Select menu

    how to put a search option in select menu if the menu list is large enough. I am using the custom search option in jquery mobile. So it's important to give a search option in the select menu list as its too big to scroll.
  • jq mobile widget inside another regular html

    Hi All, We created a widget using jQuery mobile. This widget will be part of some other pages (we are planning to use in multiple places). jQuery mobile look and feel needs to be applied only to widget i.e part of the regular page (it will be in earlier html versions). Is it possible to do? When I tried, jquery mobile css class is being applied to entire page, which is in older html. Thanks in advance
  • .on() Not working on Ajax generated DOM elements

    Hi I was writing a jquery selector to act on click element of a specific class. I tried this...         $('.city_list').click(function(){             alert('hi');         }); this was not working on my ajax result elements . so i tried this...         $('.city_list').live('click', function(){             alert('hi');         }); This also not working . i heard live was depricated on recent versions... so i tried this...         $('.city_list').on('click', function(){             alert('hi');    
  • slideToggle() : problem with toggle state

    Hi, I want to just replace text in <span> on another div's slideToggle(), I have written some code which I expect to execute, but it's not working. In slideToggle() function I am getting false from is(:hidden) on both the State of slideToggle Following is my html code: <div style="width:77%; float:left;">       <span id="addareas" class="OtherLinkStyle" style="font-size:14px;">       Show apartment area details       </span> </div> <div class="RoundPanel" style="float:left; width:77%;margin: 5px
  • lightbox doubt

    only one data comes from the data caption attribute can you tell me how to display three different titles on the lightbox the lightbox opens up when we click the cube providing my fiddle below providing my fiddle below http://jsfiddle.net/ZrpLT/74/ <div class="row">                 <div class="span10">                     <div class="melonhtml5_gallery">                         <div data-caption="<div>Paul Scholes</div> <div>Wayne Rooney</div> <div>Sir Alex Ferguson</div>" data-image="http://www.defie.co/designerImages/thumbnails/inventory.png"></div>
  • Duplicate of my plugin appearing on new site and doesn't update version

    I changed the name and url of my plugin (from deferrize to defer) shortly after it got included in the new plugins site, and shortly after that I also released a new version. At the moment there are 2 duplicate entries in the plugin site http://plugins.jquery.com/?s=defer, one 'Deferrize' and one 'Defer', and neither are getting updated to the latest plugin version. Can anybody help me with getting rid of the duplicate entry (whose existence I guess is maybe rendering the site unable to properly
  • How To Support Interactivity with JQuery UI Mobile Widgets

    I am completely new to jQuery so please bare with me.  I am testing out the slider widget on the following page:   http://jquerymobile.com/demos/1.2.0/#/demos/1.2.0/docs/about/getting-started.html   If I view this page on my smart phone (IPhone 4) I try to drag the slider but it treats it as an image and doesn't slide.  Is this the intention?  I thought the mobile library should make these controls behave exactly as they do with a mouse on a desktop?   Can someone please provide some additional information
  • Problem with $(a_string_var) not working in jQuery 1.9.0

    Hi all, Just downloaded jQuery v1.9.0 and ran into this: var noscript_txt = $element.find('noscript').text()'; var $new_img_elm = $(noscript_txt); ...which found my image text inside a <noscript> tag just fine in previous versions of jQuery and created a jQuery image object. Now, for some reason it errors with: Syntax error, unrecognized expression: <img src="http://site.com/link/to/img/sized/sunset.jpg" alt="A beautiful sunset!" /> So it obviously found the text, but couldn't use it like before
  • jQuery validation plugin, Unable to get value of the property 'call'

    Upgraded an application to version 1.9 of jQuery and 1.10 of jQuery UI using IE currently, if I set the Compatiablity tag to IE8 it is fine, but on IE 9 I get that error message when the jQuery validation plugin fires up.   In the last section of the jQuery Validation library where it does the cross browser support, actually $.event.handle is undefined, was all working ok with the previous version I was on, is this just a version compatiability issue and I need to roll back ? function handler(e)
  • 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