• Animation: Function Inside "Done" Still Executes

    Hello community, I am having an issue trying to stop a function from executing in the done property when using jquery animate method. Basically the first part of the animation is a color overlay when the user mouses over the element. Once that color overlay completes, then some text is suppose to appear (which is a css text animation itself) . But if the user hovers over the element and quickly mouses out, then the text shouldn't appear but it still is. Here is my code.         $(".grid1, .grid2,
  • jQuery test suite crashes with IE11

    Hi all, I have tried to run all tests of jQuery 2.1.4 test suite with Internet Explorer 11, but after some tests, the page become irresponsive and the browser crashes. Any idea what is going wrong? Thanks, Ahmed
  • Jquery stripping xml tags

    Hello, I'm trying to make a simple jquery class for use as a Construct 2 plugin. It's for creating an xml inventory. The problem is somewhere in the first function jquery is stripping all the tags from my xml. I've ran alert through the add_item function in various locations, but can't seem to find the problem. Also my remove_item function isn't doing anything.. I think that's because of the tags being stripped in add_item function. Thanks for taking a look. All html is here to so anyone can run
  • Populating hidden field in a form via button click?

    Hello, Very new at jquery (actually trying to modify a small app created by a programmer) and trying to figure out what I am missing to populate the value of a hidden field for a form that pops up in a window (modal) via a button click. Code for the button click: <script type="text/javascript">$(function() { var message = "149"; $( "#create-user" ).button().click(function() { $("#hidden-input").val(message); $( "#dialog-form" ).dialog( "open" ); });});</script> When i use the following code below,
  • JQuery add Tab Index to Accordion

    Good Morning, I need to add this jQuery in order to Keyboard Tab through my Accordion list but I am not sure where in my file to add it. Attached is the file in question. $(‘#uniqueid of the element”).attr(‘tabIndex’,’0’); Thanks for your help!
  • Adding class to elements not working

    I'm using this code:     <script> jQuery(window).scroll(function() {        var scroll = $(window).scrollTop();     if (scroll >= 150) {         $("header").addClass("white");     } else {         $("header").removeClass("white");     } }); </script> When the user scrolls, the class 'white' is to be added to the <header> element , and it's not. I don't know if I'm experiencing a conflict somewhere? Can someone take a look?
  • Mobile framework Survey Research

    Hello!   My name is Grega and I am a student at University of Ljubljana Slovenia. I found your e-mail address at the Google Play Store. I am working on a research for my BSC thesis where I want to compare different frameworks for developing mobile applications  (i.e. Ionic, Xamarin, JQuery Mobile, ...).   To complete my thesis I require answers from actual developers who use this framework, therefore I kindly ask you to answer to my survey, regarding some of the properties of the framework.    LINK: https://docs.google.com/forms/d/1nq5Uauo-YDR0Unf6pwyi8qz6sHZC8dGOvs6Phx3He0E/viewform
  • Reponsive div

    <script src="http://jwpsrv.com/library/DU1hDEYwEeOAsiIACqoGtw.js"></script> <script type="text/javascript">jwplayer.key = "inGvM6eezfVUavuJaws/63YPyejCjw0cnOY0TQ=="; if (navigator.userAgent.match(/android/i) != null){jwplayer("tvplayer").setup({file: "http://mn-l.mncdn.com/showtv/showtv2/playlist.m3u8",stretching:'exactfit',image: "http://www.canlitv.name/wp-content/themes/wpt-tv/images/player.png",width:"100%",height:"55%",type:"mp4",primary:"html5"});}else{jwplayer("tvplayer").setup({playlist:[{image:
  • Cloning between 2 tables

    Hi all The problem statement follows: Using jQuery, I need to copy, rows, one at at time, by dragging from table1 to table2, leaving the row unchanged in table1. On dropping in table2, I need to add 2 new columns to the row dropped in table2. The rows need to be drag/dropped in table2 to rearrange the row order. The OK adds a new data column to table2 for sending to a server. This column will later be hidden. The attached code works nicely. BUT The problem is that if the drop mistakenly occurs before
  • understanding a LTR function regex

    Hey guys , have a look at the function HERE  .  I believe its to detect weather a character is left to right(LTR) or right to left (RTL).     var ltrChars        = 'A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u0300-\u0590\u0800-\u1FFF'+'\u2C00-\uFB1C\uFDFE-\uFE6F\uFEFD-\uFFFF',         rtlChars        = '\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC',         rtlDirCheck     = new RegExp('^[^'+ltrChars+']*['+rtlChars+']'); I am still confused whats the real purpose of this function , the other question
  • Dynamically added page with external header / footer makes page jump

    I have a page with one static page and one dynamically generated page. When changing page to the generated one it will be placed ontop of the header for a short period of time. After a few milliseconds it will jump into the correct position. Here is a fiddle showing the problem, going to page2 will generate a page and going "home" will show the static page. http://jsfiddle.net/Viktor/mz99kju0/1/
  • how to writing codes one time for diffrent situations?

    Hello, please look at this code that I wrote, I have to define screenWidth for two times and also I have to wrote my codes inside and outside window resize. Is there a better way for this: html <body>     <div class="first">First</div>     <div class="secound">Socound</div> </body> jQuery $(document).ready(function(){     var screenWidth = $(window).width();         if(screenWidth <= 980){             $('.first').insertAfter('.secound');         }             $(window).on('resize', function(){    
  • jQuery UI Tooltips not working with all versions of IE 11

    Greetings, We have just completed converting or tooltips over to jQuery UI 1.11.4 (jQuery 1.11.3) and I have discovered that some version of IE 11 work and some don't.  Is anyone aware of this and if so, can you identify the version where this works reliably (so I can set a minimum version baseline)?  I have verified that the browsers are NOT in compatibility mode. This version works: 11.0.9600.17959 (UPD: 11.0.22) This version fails: 11.0.9600.17501 (UPD: 11.0.15) The symptom is that the keyword
  • Howto call events after loading new html-elements by Ajax? | .live("load") .load() .on("load") ??

    I have a page with dropdowns of class "chooseObjectType " which is part of a set of form-elements. There is also a button which loads more of those form sets. On my dropdown, live("change") calls the correct event and gives me "Test 0 ". By clicking on the button which loads more of those dropdowns (.chooseObjectType), it does not call the onchange event as expected, so I wanted to use an "onload" event. Deseperately none of those Test1..3 works :( $(function(){   $(".chooseObjectType").live("load",
  • Convert a form script from jquery 1.4 to 1.5

    I would like to convert a script I found ... But I can not. It works with Jquery 1.5. But it no longer works with Jquery 1.6. Yet I tried jquery -migrate ( Migrate older jQuery code to jQuery 1.9+ ) . But without result ...  The script : $.post('', form.serialize(), function(msg) {         submitFlag = false;         overlay.hide();         $('span.errorIcon').remove();         if (msg.success) {             $('#formContainer, #mdiv, #contactboxfloat').fadeOut(function() {                 form.get(0).reset();
  • meging html files

    Hi All, I have 50+ html files with around 150+ pages (data-role=page) I want to load them at once, in fact i am ok with loading delay for first time load. but i dont want to keep 150+ pages in one html file is there a way of doing #include type mechanism ? 
  • JQuery Context Menu Hover Sub-Menu Closing Issue?

    Right Click and open context menu then open the sub menu. Click on outside of Context menu without closing of sub menu.Context menu is close. Again right click and open context menu still sub menu is in open state. Please any buddy help me to find out the solution of this issue. Thank you in advance.
  • Error in odata ajax call

    I have an $.ajax call in one of my html page: var query = ODATA QUERY jQuery.ajax({ dataType: 'jsonp', url: query, jsonpCallback: 'callback', success: callback, ajaxError : errore }); function callback(result) { } function errore() {console.log("errore"); } but if the query fails i get an errore in console (NetworkError: 400 Bad Request) but does not enter in the error function. Why?
  • download jquery dosn't work, big problem, so sad :-(

    Hello, i am new to jquery and want to work with it. But if i download jquery, i cant open it. There is just this: and when i want to open it, that happend : maybe you can help me with this problem. I am feeling so lost.
  • cant start with jquery, installation impossible, please help

    Hello, i am new to jquery an want to install it. I downloaded jquery from the jquery page an get this in my download folder: If i try to open it, it do not work and following happent: what is wrong with it? please can you help me? i am so frustrated :-(
  • Jquery ajax call in function return value is #document with result

    I need to remove #document tag from this resiult
  • Jquery min without vulnerabilities

    I need to know wich is the latest version of jquery min without vulnerabilities for upload to the latest version. I have this versions: 1.4.4.min.js 1.3.2.min.js 1.4.2.min.js 1.7.1.min.js  Please. THANKS!!!!!!!!!!!!!!
  • Validate: prepopulated fields

    Using jQuery validate plugin v1.14.0 for client-side validation. Sometimes fields can come pre-populated from the server, eg: <input type="email" name="email" id="email" required="required" value="aa@b.c" /> If I focus into this field and delete the email address I would expect to get a "This field is required " error message, but I don't. In fact not even the following sequence shows an error: - focus in - empty field - focus out - focus in - repopulate field with new (valid) value - focus out -
  • jquery commas

    hi i have numeric values in textbox like 1000 but i want to write it in currency format like 1,000 please help me out
  • load inside a textarea it the content of a text file

    I have a textarea and I want to load inside it the content of a text file. Can someone advise how to do it? Thx I. Sher
  • Issue in Draggable Control

    Draggable Is there any issue in "Draggable" control . I faced this error "Animation jQuery UI draggable element back to starting position".  Because I had to use this code to resolve this. Below code  reset float  to none in all the parent controls of the Draggable container $("#DraggableContainer").parents().each( function(){  $(this).css("float","none"); } )
  • How to Toggle Two Functions in jQuery

    Can you please take a look at this demo and let ma know how I can call/toggle two functions from outside of the toggle() function printConsole() { console.log("This is From Function A"); } function printAlert() { alert("This is From Function B"); } $("#toggler").toggle( printConsole(); printAlert(); ); <button id="toggler">Toggle Fnctions</button>
  • Jquery date validation for date of birth

    Currently working on jquery date picker validation. As per the Jquery documentation I managed to show from 1900 to 2015 Sep today date. But the validation should be in if the user age is less than 15 years it should say an alert says Your are not eligble. My Second concern is if i select the date for dob field automatically the errorred class was applied to date of issue field. Normally it should happen when i click the next button. Here is my jquery code Kindly help me var date = new Date(); var
  • change value in a cell

    Hi, I'm trying to achive this result: I have a table with some key/value (SKU/Quantity), by a some button I add a SKU Item to table.  Everything work fine, but If the SKU Item is in table I would like update the Quantity +1 TABLE: | SKU |  QTY | |A01   |    10  | |A02   |     5   | with my button now I add another A01 how to change the right quantity cell?  $("#comanda").find(".idart").each(function() {                                          idPiatto = $(this).html();                           
  • adding script into specific element

    hi, i want to know how do i merge different script into one that i can upload into file and put it in <head> section so i want to add this scriot into <div id = 'title-post'> //< div id = 'title-post' > var timestamp = "<data:post.dateHeader/>"; if (timestamp != "") {     var timesplit = timestamp.split(",");     var date_dayname = timesplit[0];     var date_daymonyear = timesplit[1] } this into < div class = 'n-ofday' > //< div class = 'n-ofday' > document.write(date_dayname); for < div class =
  • How to conbine my location with other markesr

    Hello guys, I'm trying to create a map page that will display my current location along with other markers, but I'm having some trouble creating it. More specisicly more specifically when I use the code aw it is The map doesn't load but when I remove the code that I have painted in blue then the map load normaly with the markers only.Here is the code that I'm using: var cityList = [                                 ['Il Posto', 37.6726818, 21.4383551, 1, 'img/grey.png'],                          
  • Infowindow

    Hello guys, I'm trying to create a google map page that with display hotels and I want that the infow window to contain the site of that hotel and when people click on it I want them to be linked to tat particular site. The code tha i used the below : var cityHotel = [ ['HOTEL OLYMPOS', 37.6740392, 21.4361431, 10, 'img/pink.png'], ['HOTEL MARILY', 37.675677, 21.436359, 11, 'img/pink.png'], ['HOTEL ΠΑΝΘΕΟΝ', 37.674106, 21.4372605, 12, 'img/pink.png'] ],  demoCenter = new google.maps.LatLng(37.6719964,21.4443562),
  • get the button name with document.getElementById

    hi, i want to develop a script on that i only have to set the names like this : <button name="1" id="url" onclick="myFunction()">1</button> <button name="2" id="url" onclick="myFunction()">2</button> <button name="3" id="url" onclick="myFunction()">3</button> <script> function myFunction() {     var $x = document.getElementById("url").getAttribute("name");         $.post("worker.php",         {         Page: $x         },         function(data){         $("#content1").html(data);         }        
  • How do I keep JQuery Slider Tabs from sliding automatically?

    I have a timeline style JQuery Slider on my site, but I want to go to each section manually. I set autoplay to false but its still not working. What am I doing wrong? You can see it here Thanks in advance!
  • Need help adjusting JS code to make content work after it's been dynamically loaded using AJAX

    I'm having an issue where, after dynamically attempting to load content in through AJAX, the content isn't responsive to the JS code that it used to be. Here's a jsfiddle of this navigation bar working *before* trying to dynamically loading it using AJAX... http://jsfiddle.net/neowot/m107L4mh/ (ignore that it's offset, lol) But now it's just nonresponsive. I asked for similar help before and attempted to add proper event handlers, but clearly I'm still struggling. Please help if you can. I'll try
  • html tag's disabled attr not working on ios

    $('.target').attr('disabled', 'disabled'), in my case, I want to disable a button by set it's disabled attribute as above sample code. it's works normally on PC(ie, and chrome), also works on android phone default browser. but, it's not works on ios phone. Is there anyone who ever encounter such issue?
  • button with image under text

    hello, I have been struggling to find a code or some options I could use to have a small text appear on top(not above) of the main button icon I tried zindexes too nothing works the strange thing is that the text span is declared after the icon, it should by default, to my understanding appear op to of this one please help thanks
  • IE11 jquery not working

    Hi I am working on this issue where my website working fine with all the browser and but on the some of the jquery related staff not working on IE 10 & IE11. I would appreciate if some one could point to the right direction for a fix.
  • IE 11 Issue with Jquery 1.7.1 while migrating

    Hi All, We are using Jquery 1.7.1 with IE 8 for a long time. We planned migrate to IE11. But we are getting the below error when we run our application. File: jquery-1.7.1.js Line No:1437 Code: delete div.test; Error: Object doesn't support this property or method I dont know how to resolve this issue.I tried with IE Enterprise mode but that also doesnot solve the problem. Can someone help me with this issue
  • body doesn't expand till the bottom of screen

    This is my site www.perfect-rehitim.co.il Suddenly I saw that body doesn't expand till the bottom of screen. There is a gap bellow the footer. What causes that and how to fix it? Is there a jQuery code to find out? Thx I. Sher
  • 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