• jQuery HTML parser corrupts script content that looks like HTML tags

    Hi, my plugin below is suffering from the following known issue in jQuery: jQuery HTML parser corrupts script content that looks like HTML tags My first question is: Has there been a fix in the meantime? Thanks in advance! jQuery Ajaxify Plugin: https://4nf.org/
  • Những ưu điểm vượt trội của truyền hình FPT

    Những ưu điểm vượt trội của truyền hình FPT Chương trình truyền hình internet FPT hiện nay đã phổ biến khắp mọi nơi và nhiều người đã biết đến vai trò vô cùng quan trọng của nó. Chương trình truyền hình FPT sẽ giúp bạn mang đến cho người dùng một hệ thống thông tin, dịch vụ giải trí rất đa dạng và phong phú. Đây là sản phẩm tích hợp được giữa truyền hình với công nghệ giải trí hiện đại, thông minh nhất giúp người dùng thoải mái giải trí cùng gia đình và bạn bè. Ngoài ra, bạn cũng có thể lựa chọn
  • BlockUI form problem in Safari

    I have BlockUI implemented in a credit card form... it works great in every browser, except for Safari. The BlockUI doesn't pop up at all in Safari, and there are no errors in the console. I've researched this, and I've seen suggestions about setting a time out... that works half way... it seems to be walking a thin line by setting a random time on it... and then, it somehow is interfering with error messaging that appears on page reload if the credit card form was not filled out correctly... and
  • Problem since updating to iOS11

    Hi I've been a gallery script on my website to create a touch swipe gallery and everything has worked ok until the iOS 11 update. I am now finding I have images opening at different sizes and not scaling as before. everything worked ok on earlier iOS versions. Any ideas on what might be causing this? Thanks
  • Can't target thumbnails

    Here is my site: http://yardenharel.triplebit.com/product/%D7%97%D7%95%D7%9C%D7%A6%D7%94-8/ I need to alert when any of the thumbnails gallery images(right to the main image) is clicked like so: $('ul.slides li').each(function() {     $(this).on("click", function(){      alert('thumbnail clicked');  }); But this doesn't happen.. Can someone advise please? Thx
  • unblock or unblockUI will not work outside of a setTimeout block

    I am trying to use either block/unblock or blockUI/unblockUI to display a "In progress, please wait ..." message while columns are being reordered in a jqGrid with lots of rows (1500) and about 15 columns. I started out using a setTimeout block like the blockUI demos use - it was easier as it showed the progress box a bit longer when I would work with small tables with only a few rows. Got everything looking great. Then I removed the setTimeout and even when things take quite a while for the columns
  • Higlight days on a datepicker from database

    Hi all i see this sample(and others) https://www.codexworld.com/jquery-ui-datepicker-highlight-specific-dates/ but not understand how to get dates form a database, in the example have static Dates: var eventDates = {}; eventDates[ new Date( '08/07/2016' )] = new Date( '08/07/2016' ); eventDates[ new Date( '08/12/2016' )] = new Date( '08/12/2016' ); eventDates[ new Date( '08/18/2016' )] = new Date( '08/18/2016' ); eventDates[ new Date( '08/23/2016' )] = new Date( '08/23/2016' ); as i understand initially
  • Return the index when two data-attributes match.

    Hi, is it possible to do the following: https://jsfiddle.net/vs2jfqaa/151/ I want to return the index when the filter matches the criteria of two data-attributes: I tried with something like this but it doesn't work: var a1 = $("#page2").find(".resultsBox img[data-ba*='smith'],[data-cd*='london'").filter(... So if the data-ba="jones" & data-cd="london" it will return the index? Thanks.
  • Target Element After Added to DOM Inside Window Resize

    I can't seem to target an element created by ajax and then added to the DOM.  The targeting is done when a window resize is done. My code: $(window).resize(function() {   var mythis = $('#wrapperdiv #newdiv');   console.log('Mythis: ' , mythis); // Returns - n []  ie. not in dom }); Is there an easy way to target mythis  ?
  • Nested Menu Height problem noticed in Chrome....

    Using Chrome (v61.0.3163.100 (Official Build) (32-bit). http://jqueryui.com/menu/ Notice the extra space above Electronics and Music in the menu. If you remove:  list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") from the styling of .ui-menu .ui-menu-item it gets rid of the extra space at the top. Is that a Chrome bug?  Don't see the issue in IE 11 or Firefox 56.
  • Editable and resizable

    I have completed drag and drop but not finding anything to resolve this "I want to make my button resizable and after it drops on canvas nd want to change name of it " Example : <Button>click</button> User can change the value what he wants and make it of any size
  • Accordion no longer has CSS applied

    Yesterday, my accordion's CSS stopped working. There is no longer any formatting being displayed. Also, the H3 header for the panel that follows the active panel no longer wraps, but displays next to the last item in the active panel rather than below it. I went to the url for the CSS, and it no longer showed any CSS for an active panel (content-active). Can anyone explain to me what has happened? No one edited the code of the accordion before this occurred.
  • Popup problem with Chrome 62

    Hello, Popups are no longer displayed since Chrome 62 update :  http://api.jquerymobile.com/popup/ I'm on Ubuntu 17.10 with Chrome  62.0.3202.75 (Official Build) (64-bit) Did you have this problem ? Arnaud
  • attr | value

    trying to understand the following var val = $(this).attr('colspan') | x)  if there is no col span and x is 5 then val will be 5?  if there is a colspan of say 2 and x is 5 then val will be 7? Is there a way to say val = colspan if colspan exists else val = x? not add them together if both exist?
  • Get value of multiple simple slider jquery ui

    Hi, I have 2 simple sliders and I would like when I move one of them display the value of each slider into the <span id="result"></span> but my code below doesn't work.  I have a numeric and a text slider. Please find my code: http://jsfiddle.net/NetRS/136/ What is it wrong into my code? Thank you for your help. Paul
  • About Ajax and function closure problem

    Hi: I have a problem about the ajax and function closure. The following is my code snippets.  var Handler = function (size, cur) {                     return $.ajax({                         type: 'POST',                         dataType: "json", //for post method                         url: './Demo.aspx/Demo',                         contentType: 'application/json; charset=utf-8',                         data: JSON.stringify({ p1: size, p2: cur }),                         error: function (error)
  • api fire

    Hi, How would you get an api to fire not when the page loads but when the dropdown form element (including its little downward arrow) is clicked on? My current working script is Thanks in advance     <script>         var blah= $('#BlahID');         var blah_api_url = 'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';         jQuery.get(blah_api_url, function (data) {             $(data).each(function (key, val) {                 console.log(key);                 blah($("<option>").attr('value',
  • I am getting a odd bug and I wanted to see if jQuery can solve it for me

    In summery.  When you play a video and go to the next page then push back the audio from the video is still playing. Can jQuery refresh this or suppress it somehow without breaking anything else =D. https://bydesigndental.com/ Here is how to recreate the issue: Follow these steps to recreate the problem:  1) On the home page, click Watch the Video. Let it play a few seconds.  2) Close the video (click the X in the top right corner).  3) Navigate to another page -- any page is fine.  4) Click the
  • Can't click link button to trigger popup after return to page

    I have a link button that, when entering my Manage Job page for the first time (and in most cases) works fine and triggers the popup as expected: <a href="#dialogCompletion" data-rel="popup" data-position-to="window" data-transition="pop" class="ui-btn ui-corner-all ui-shadow ui-btn-inline ui-icon-calendar ui-btn-icon-left ui-btn-b" aria-haspopup="true" aria-owns="dialogCompletion" aria-expanded="false">Job Complete</a> When clicked, my popup launches, presents a date and a button, I can change the
  • jquery ui resizable do not work after droppable with ie

    hi, i get a problem when with ie, it is ok with chrome and firefox. when i drag the div#drag from div#hellotest to div#hellotest2, then with ie  the div#drag can not resizable, and i found something, when  i add a div with  style="height: 700px"  when div#hellotest is out off the browser screen it is being ok.  anyone can help me to solve it? thanks <div style="height: 700px">   if i delete this div  it can not resizable   </div> <div id="hellotest">   <div id="drag" style="width: 30px; height: 30px">
  • Searching element BEFORE another element

    Assume I have the following code <div class="top"> <div>.aaa...</div> <div class="foobar">.bbb..</div> <div>.ccc..</div> </div> How can I address with jQuery the <div> element BEFORE the <div> element with class="foobar"? With pure CSS this isn't possible AFAIK. But in Javascript it should be possible by a function like previousElementSibling(). Maybe there is a shorter, better way in jQuery?  Peter
  • DatePicker - Using minDate and maxDate

    I'm fairly new to jQuery. I'm trying to use Datepicker to create two date boxes on my form and to allow the user to easily enter a date range. Here is my current code: <td class="invisible input-daterange input-group" id="datepicker" data-date-format='d-M-yy' data-date-start-date="23-Oct-17" data-date-end-date="22-Feb-18" data-date-min-date="5-Apr-16" data-date-max-date="31-Dec-17"> <input type="text" class="input-sm form-control datepick inline" style="display: inline-block; margin-left: 50px;"
  • ASP.NET page with update panel, fade a div

    For the life of me I can't get this to work. I have a form with a textbox, which has autopostback. When the postback occurs I want the div to fade. (eventually I want it to fade in, pause and then fade out, but for now lets just get the fade out working) My script (put in document.ready so it will work with partial postback): $(document).ready(function () {             function FadeMessage() {                 $('#MessageContainer').fadeOut("slow"); };             }); The div: <div class="message"
  • Set value in nested div

    Hi All, Below is criteria of nested div. Using jquery code I need to replace highlighted "JOSEPH MARY JACINTHA" with "Test" Any help will be highly appreciable Regards
  • $ undefined Microsoft Edge

    Hallo, our service have some problems with Edge browser 14.14393.0 returning error '$' is undefined This has been report only on Microsoft Edge in last 2 months. Any ideas? does anyone had this issue?  Are there any unsupported futures ?
  • about jquery.on in jquery.treetable.js

    Hi: I dive into jquery.treetable.js source codes recently, and find a question about the using of $.on(), $.off(). The code snippet is as following: JQuery Part: this.indenter.html(this.expander); target = settings.clickableNodeNames === true ? this.treeCell : this.expander; target.off("click.treetable").on("click.treetable", handler); target.off("keydown.treetable").on("keydown.treetable", function (e) {     if (e.keyCode == 13) {         handler.apply(this, [e]);  //keycode 13 = Enter     } });
  • Internet explorer issue with slideUp / slideDown

    Does internet explorer version running in few windows based mobile supports SlideUp or SlideDown jQuery features? Help needed please. 
  • tablesorter odd/even not working

    Is there anything that I need to do to get the odd/even color to display? Isn't it automated? I have it in the css: table.tablesorter .even {     background-color: #E1F7E6;     border: none; } table.tablesorter .odd {     background-color: #FFF;     border: none; }
  • tablesorter parser img tag not working

    I have a column that either has a checkmark image tag <img src=...> or nothing and want to sort on it, so I setup a parser but it is not working, any idea what I am doing wrong?     $.tablesorter.addParser({         id: 'checkmark',         is: function(s) {             return false;         },         format: function(s) {             if (s.substring(1,5)=="<img")  //also tried (s!="")                 return 1;             else                 return 0;         },         type: 'numeric'     });
  • jquery.autocomplet.min.js

    I am using jquery.autocomplete.min.js 1.4.3 in eclipse and tomcat environment. and jquery-3.2.1.min.js.   I am getting  the following error Line:8 Error: Unable to get property 'toLowerCase' of undefined or null reference If I execute the same program in eclipse but using STS I will the following Line:11 Error: Unable to get property 'replace' of undefined or null reference Any help is appreciated.  TX
  • best way to loop through specific table cells in row

    I have a scenario where I want to loop through a specific set of cells based on a start and end column or row index. Is it better to use a while loop and do a find each time inside the loop? I can't use .slice because if another cell has a colspan it can throw out the column index.
  • navigate to another page with full page reload

    i have a page1.html, with button click in page1.html, it should be navigated to page2.html with transition=slide. i have to make ajax call to retrieve some data from server when page2.html is loaded. but no javascript can be called in page2.html instead of loading static html tags. can someone tell me how to overcome this issue? thanks.  
  • jQueryUI - Tabs

    I am trying jQuery Tabs in my Sharepoint test site and cannot figure out how to control the headers on my lists and libraries.  If I turn them off, they drop out of the tabs (by design in the tabs.js).  How do I control the header font colors that become nested in the Tab control?  Once outside the Tabs rollup, they have the correct (desired) header appearance. Any guidance appreciated! Jim
  • How to call javascript original function while using selector

    Hi: I meet a problem when using selector. The code snippet is as following: var nodeID = document.getElementById(nodeid); if (nodeID != null) {     var handling = $("#" + nodeid);     handling .empty();     nodeID.parentElement.removeChild(nodeID); } I hope I can use handling.parentElement.removeChild(nodeID); but it in fact not working and return error. is there any way to call javascript prototype function when using selector, thanks a lot.
  • Accordion customization

    I'm trying to use the widget at http://jqueryui.com/accordion/ with the following modification. 1. show the second tab first. 2. Change the font and size. I tried to use CSS to assign different font and size, but they didn't change. Only color change worked. 3. integrate with tooltip so rolling over shows a picture. Please help. Thanks,
  • Nested table.

    Hi, I need your help to complete a function where there is a nested table. When I click on element it opens the second table and it shows all his elements and the fa-plus icon turns on fa-minus. I would like to close the elements of the first table when I click on it and the fa-icon fa-minus turns on fa-plus. I prepared a fiddle: http://jsfiddle.net/t763P/1141/ Thanks in advance Tegatti
  • qunit 2.4.* using cli tests

    Hi ## Tell us about your runtime: QUnit 2.4.0 * **What environment are you running QUnit in? browser, debian stable, (debian testing) For a shame: npm is not available in debian (for security reasons and this is good actually) but getting into it by hand is really a mess when new to node and all the great stuff) Most docs and tools i found are outdated. Can you help with a link at least how to get qunit 2.4* run on travis-ci following the basic examples on http://qunitjs.com. Thats whould be really
  • some function are working well and some are not working well

    Hello Friends,       problem when i face is some jquery function like slideUp,slideDown,slideToggle,fadeToggle etc not doing well and some are well also text below mentioned code for reference, so plz guide us .. <head> <title>JQuery Complete Cource</title> <script src="jquery-3.2.1.slim.js"></script> <script> /*Example #1*/ /*$(document).ready(function(){ $('#but').click(function(){ alert('Button has been Clicked'); }); $('.test').click(function(){ $('.test').hide(); }); });*/ /*Example #2*/ $(document).ready(function(){
  • trouble getting tablesorter filter and reset working

    Hi, have the following button  <div class="bootstrap_buttons">                 Reset filter : <button type="button" class="reset btn btn-primary" data-column="0" data-filter="">Reset filters</button>             </div> with following script in the head  <script>            $(function () {                // filter button demo code                $('button.filter').click(function () {                    var col = $(this).data('column'),                        txt = $(this).data('filter');                   
  • Search images by data attribute and return eq()

    Hi, can anyone help me return the eq() of the image when I search the data-age attribute?  For example the age 18 it would the eq() of 2? <div id="resutsBox">       <img src="gerrard_1.jpg" data-age="21" width="40" height="40" />       <img src="gerrard_2.jpg" data-age="43" width="40" height="40" />       <img src="gerrard_3.jpg" data-age="18" width="40" height="40" />       <img src="gerrard_4.jpg" data-age="54" width="40" height="40" />  </div> Thanks.
  • 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