• Add/remove duplicates from dynamically generated dropdowns with the same class

    I have a demo which can be found at http://beta.acinonyxsim.com/demo . When adding base or spot markings, you are allowed to add as many as you'd like. It is my intent and wish to disable the selected marking in all generated dropdowns but the one currently being manipulated. At this time, the code works in part, but doesn't seem fully to eliminate the possibility of having more than one of the same marking. In theory, the code should disable the marking in question in all other dropdowns and return
  • Jquery ajax request progress bar lengthComputable false

    Hello everyone, I am trying to make an ajax request to load html content from a really simple html file. Don't know what I am doing wrong but the progress isn't working, it loads up the content but no progress. It always displays lengthComputable false, but trying to research about couldnt find how to solve my issue. I spoted my issue on a different forum but no help yet. Hope someone here can give me a hand. Link
  • Help create jquery album

    I make jQuery but I have not seen jquery it is my customController public function actionGetgallery() { $usersId = isset($_POST['usersId'])?$_POST['usersId']:''; Yii::app()->user->setState('dash_usersId', $usersId); echo json_encode('yes'); return; } public function actionGetImage() { $sql = ' SELECT a.picture AS picture, c.username, e.name FROM activity a JOIN usersorganization b '; $sql .= 'ON a.users_organization_id = b.users_organization_id '; $sql .= 'JOIN users c ON b.users_id = c.users_id
  • Cannot get SlickNav to work on current site

    I have read a few other posts here who've had this issue, but i didn't find the answer and was hoping someone could assist me. I have been using SlickNav on all of the websites i've created over the past 2 years, however I am having an issue with the current one.  This is also the first WordPress theme i have used and I am attempting to replace the themes head with my own and add SlickNav to it. Visually the header is working fine, and the nav disappears correctly, but SlickNav doesn't appear. I'm
  • Open tooltip that was closed before

    Hello, i have the following problem. I want to show some data when hovering over a table row. The data is fetched via a php helper script. The first time i hover over the row works perfectly. Tooltip is shown with my custom data and all is good. When i stop hovering over my row, the tooltip gets closed. But now i cannot reopen the same tooltip again even though i am hovering above the same table row. Now rows work, but with the same problem, it only works the first time. Here my js, maybe somebody
  • Jquery Tabs : security filter on links

    Hello all, I am using a simple tabs,  $( "#tabs" ).tabs [..] <div id="tabs"> <ul> <li><a href="alink.htm"><spring:message code="alink"/></a></li> When I click on this tab, and an error happens, from url filter or security or any error, I have redirection code like this : response.sendRedirect(url); Where "url" is my login page. Problem is : my login page open in the tabs.  I would like it to open in main page, not under this tab. Any way to do this ? Thanks for answer Julien
  • Getting error in datepiker

    Hi  i want to use datepicker in mvc  but when i'm select date less then 12th day then my form post method is working but when i'm select date more then 12th day then i'm getting this error. please review this error http://my.jetscreenshot.com/29458/20161222-gh1x-25kb.png model  public DateTime? DID_Date_Of_Activation { get; set; } public DateTime? DID_Date_of_De_Activation { get; set; } html  <div class="form-group"> @Html.Label("DID Date Of Activation", htmlAttributes: new { @class
  • Very Slow Loading Tables in WooCommerce

    http://cdncoin.wpengine.com/product-category/gold/ Greetings... I am using the following php function on my site to pull in Volume Pricing Discounts on my WooCommerce Shop Pages... The issue that I am having is that these volume discount tables are taking a very long time to load. I am not sure if there is a memory leak issue. If someone could take a quick look and provide advice as to how I can make this load faster this would be really great! Regards Rob //Add Volume Discounts on Shop Pages function
  • $.ajax 404 status = 0

    Hi, I have noticed that if the ajax call returns 404, the jqXHR.status = 0. Does anybody know why?In the rest of the status codes the status property is ok but for 404. Thanks a lot.         $.ajax({             type: 'GET',             url: 'https://server/api/rest/invalidurl',             dataType: 'json',             xhrFields: {                 withCredentials: true             },             success: function(data) {                 alert(data);             },             error: function(jqXHR,
  • User is able to check the checkbox by clicking on the error message (not the checkbox) from the jQuery Validator.

    jQuery validator flags a field "Please agree to our policy" checkbox as an error when not selected.  Click on the error message (not the checkbox), and the checkbox is checked.  Is this an expected behavior or a bug?  My user thinks this is a bug.   Ths is the jQuery Demo: https://jqueryvalidation.org/files/demo/ 1. Click on the link. 2. Then Click on submit without entering any data.  This will activate the validator. 3. Next click on the error message "Please accept our policy".   This action will
  • jQuery doesnt work in Internet Explorer

    Hi, I have a site: http://aubreybourke.ddns.net Since I added a jQuery preloader, the site no longer works in Internet Explorer. But, it works in Firefox and Chrome. Can anyone help me here. This is like the first time I have used jQuery. Regards Aubrey Bourke.
  • .load working with another element

    elements: .build21 is clicked show up .buildfull and .load elements, but then u clikc .buildfull then .load again the same file    var num = $(this).find('.h66').length;     for (var i = 0; i < num; i++) {         var list = $(this).find("h6").eq(i).html();         $(this).find('.nonono').before('<div id="items" class="items-'+ i +' itemss"></div>');          $(".items-"+ i ).load(''+list+'/ .postmain');     } https://jsfiddle.net/hpcolor13579/p93oppee/
  • Cannot get jQuery-UI Tabs to work properly within a Sortable object

    I believe that this is a bug within jQuery-UI and am prepared to submit it unless somebody can spot an issue with my code that would make this user error. Visit this fiddle. Attempt the following steps: Drag the green block straight down. Note that you must drag it past the 3rd blue block before the placeholder will appear.  Return the green block back to the top. Change to "Tab 2". Drag the green block straight down once again. Note that now you only need to drag the green block past the 1st blue
  • javascript problem

    Somebody answer me with this plz! Consider using the preferred .on() rather than .click(), .bind(), .hover(), etc. Thankyou
  • How can I get parts of these strings?

    Hi How can I get the playlist id: <iframe src="https://embed.spotify.com/?uri=spotify%3Auser%3A1232159430%3Aplaylist%3A5MmcyYIFKUtPdBleY3WRF5" width="300" height="380" frameborder="0" allowtransparency="true"></iframe> How can I get the track id: <iframe src="https://embed.spotify.com/?uri=spotify%3Atrack%3A1GRU2S5QP5IlK5EyXAkJCB" width="300" height="380" frameborder="0" allowtransparency="true"></iframe> How can I get the Playlist id: <iframe src="//playlists.applemusic.com/embed/pl.4705ab1ed97c4f4bb54f48940faf5623?country=us&app=music"
  • latest jQuery no longer provide sub component js download?

    Good day, 2, 3 years ago, I was using older jQuery version in my system. To avoid overloading of jQuery UI, I did not using the jquery.ui.js, but the other components js files, for example ui.core.js. So that I only need to include ui.core.js for those jsp pages. Now I am upgrading the jQeury version to v1.12.4. So those older jquery js file will hit error. I was planing to download the latest js files from internet, for example download back the ui.core.js and replace my older one. However, I failed
  • Autocomplete, custom HTML structure for printing result?

    Is there a way to print the value of the autocomplete box once a selection is made? I know I can use the browser but I want an html (@media?) layout. I can get the description (outside the box) to print with an old-school print setup, but the value inside disappears (defaults back to the box search). Any ideas? Thanks so much for your help When you see a  
  • Recalculating offset from top

    I have a function setup that detects the offset from the top -- it's working just fine on load, but when the orientation changes, it won't recalculate. I thought "orientationchange" covered that, but for some reason it doesn't force a new offset. Any help would be greatly appreciated (been testing this far too long :/). $(document).ready(function() { var menu_hdr = $("[id^=table-] .divwrap").offset().top,$window = $(window); var menu_end_check = $(".table tbody tr:nth-last-child(9)").offset().top,$window
  • hide image when I select one & show related div

    hi  I want something similar to this site http://www.ezmetrology.com/. you can see there are some device images in the car, so when you mouse over one device it shows the details in a div content of the related device. what I want is when I mouseover one device from the car it should hide the rest of the devices. is that possible? please help thank you  
  • jquery to javascript

    is this possible if someone please help me to convert this jquery code to javascript $(document).ready(function(){ $('.clickButtons').mouseover(function() { $(this).siblings().toggleClass("vis"); $("div.textC").attr('style','visibility:hidden;') var index = $("li").index(this); $("div.textC").eq(index).attr('style','visibility:visible;') }); $('.clickButtons').mouseleave(function() { $(this).siblings().toggleClass("vis"); }); });
  • select the right image

    Hi, I have a table with n rows this is an example of row <tr> <td>        <div>        <img class="deleteimage" src="' . $image . '" />              <a href='' class='trash2'>               <i class='glyphicon glyphicon-trash'></i>             </a>         </div>    </td>         <td>             <input type='checkbox' " . $chk . "> <b>Copertina</b>             </td>        </tr>      I would select the name of the images that is select  I can't select the right image. I select only the first image
  • How to use magnific popup in a gallery with form submit

    Hello. I have a code that allows to display folders content dynamically, like an image gallery with deep levels. I asked a question related to this code in https://forum.jquery.com/topic/help-with-a-code-to-get-file-location-dynamically I urgently need to ask another question related to magnific popup. In this code I make a request to ajax after sending form data to open a directory folder dynamically with glob function. I need to display folder content like a modal pop-up gallery using magnific-pop
  • Make a div show or hide

    Hi I have a HTML page. I want to check if the user is a manager then show a div otherwise hide it. When I check the Console for the page $("#CFMainContentFrameset").attr("data-userrole") This shows correct role. In my code, I have  if ($("#CFMainContentFrameset").attr("data-userrole") == "MANAGERNOCOMP") {    $("#PersonalDetail").hide();} But it does not work. I removed the if to check if this part   $("#PersonalDetail").hide() works. And it does. But when I put it in the if , it does not. I am just
  • How to convert a reminder app in JS to PHP/mysqli

    I wanted to make a basic prototype reminder app and so i first built it in javascript , so i plain JS i am just basically accepting time from the user and then some Math calculation to return the difference in seconds and then i use a setTimeout like so: setTimeout(function(){     // Remind the user of a task. }, /* difference in secounds from current time to what the user has entered */) The above is basically a oversimplified version of my JS application , but now suppose i have to write the same
  • Open first group, then the next..slideToggle()

    I'm trying to show or collapse everything from dayhead to the next dayhead while leaving daytrip_nfo collapsed until clicking on one of the daytrip headers. Then if another daytrip is clicked on, collapse the first and show this (current one clicked on). Here's my html. <div class="earningsTbl u-full-width">   <div class="dayhead row">     <div class="six columns">Wednesday, Nov 16 (11 Calls)</div>     <div class="rte six columns">Day Total $283.00</div>   </div>   <div class="daytrip row" style="display:
  • Internal Server Error with retina.js

    Can anyone answer this? plz? i can't fix this bug! plz somebody help me!
  • jquery updte problem!

    Anybody Please help me! i'm using jquery v1.11.0 and i want to update my jquery to 3.1.1.  i download the and using jquery.js in js linking but not working! it still loading? why?
  • jQuery validation removes the whole select list

    Hi there, We are developing a web application using ASP.NET MVC 5. Along with the backend framework we use kendo UI as our frontend framework. The following list is the version of plugins we use. 1. jQuery  v1.91 2. jQuery Validation Plugin v1.14.0 3. kendo UI v2014.3.1316 We have encountered a problem when validating the form, where the select list itself is removed totally on the second time of validation before the form is submitted Here's the scenario: 1. We have two DropDownLists on our page,
  • While create a content editable iframe dynamically, getting rendering issues in firefox.

    while create a editable iframe with the below mentioned sample scenario, iframe content always getting blank in firefox. Dynamic Content editable rendering sample(issue reproducing sample): https://jsfiddle.net/55z5s03p/
  • Find specific li element

    Hi, I have a list where one element has the attribute active="" and a data-id="something". How can I get the data-id value of this specific li element? This is how the list looks like <li class="client with-menu" data-id="126"></li> <li class="client with-menu" active="" data-id="132"></li> I tried to find the element by using $("li[active='']") but this returns following Object { selector: "li[active='']", length: 0, prevObject: Object, context: HTMLDocument → / }
  • jQuery validation plugin removes form fields but displays messages after submission

    Hi im quite new to jQuery and validation, basically i managed to get the plugin working with the application, however when i test validation and try to submit, it displays the error messages, but completely removes the form fields and then when i click submit again it reappears, so i'm quite confused why it is doing this. im using jQuery validator plugin, heres the code snippet...                   $().ready(function(){                   $("#form2").validate({                   rules: {                   gender:
  • Page kinda "freezes" when clicking into list after having scrolled

    i have spent some hours looking and searching the internet in order to fix some difficult bug. First some background: I use jQuery 1.9.1, jQueryMobile 1.3.2 and SignalR 2.2.1 I have on HTML file that contains 7 sections (pages) I test my WebApp on Win7 PC with Google Chrome, IE11 and iPad with iOS 9.0.2 The Error: On one of my pages, there is a List inside a container div, that contains 200 entries. When I scroll down the page and, after the scrolling stopped, tap on the display the following happens:
  • Styling all Ps inside a selected DIV

    I've obtained a div that I want to work on, cellContent$, and now I'd like to apply par_padding-top to all of the paragraphs in that div. My line 3 below doesn't work.  var el = ed.getElement(); var cellContent$ = $(el).closest('.cellContent'); (cellContent$ p).css('padding-top', par_paddingTop); How should I be doing this? Thanks for any help.
  • new to js and jquery question about moveable/sortable objects

    Hi, I am new to jquery and need some help / pointing in the right direction: I have a list, that is generated via php and mysql now I want the objects in the list to be moveable so I can rearrange the order of the list - so far so good, found a script that allows me to do that, but I want the elements to be counted according to the new arrangement so when I return the info into the database the new order is saved- how can I do that? Also the single items in that list have an information on duration
  • Auto scroll while dragging on jQuery Sortable Vertical - Kan Ban

    I'm trying to fix this 2 days but with no success. I'm creating a kan-ban with jQuery sortable the X scroll is good. But when there is overflow on the Y column cant scroll inside this column while dragging the selected element for drag. Here is preview http://goo.gl/gYhliR Go to Leads from the aside menu and try dragging vertical where the overflow is for this column. Here is the current config for the sortable. $(".status").sortable({ connectWith: ".leads-status", helper:'clone', appendTo: '#kan-ban',
  • Returning the data value on a list view item.

    I am a little perplexed on how I would search through and return the index on a listview item. http://jsfiddle.net/yTt9b/1833/ When using the button I want to locate and return the index of the colour (data-color) green. Thanks in advance.
  • Loading page content and then using jquery on this content

    Using jQuery I'm getting a JSON object and are looping through it creating list items (LI). Each item has a class for style and a unique ID from the JSON object. I now want to create a function that for now creates and alert alerting the ID. How can I do this?? At the time of he page load I don't know the ID and amount of list items that will be on my page.
  • Jquery-Javascript

    I am trying to update the drop down values based on the ajax text response . Below is the snippet i have tried but its not working .Please help! HTML code:<option id="ABC:57" value="ABC:57">$50,000</option> Javascript code :    $("#"+val).html(document.getElementById(val).text.append(" 21")); I am expecting output in dropdown as : $50,000 21
  • Find attribues in a group of elements and print their values together.

    I am trying to find a custom attribute from a group of elemnts and them prints their values together. It doesn't seem to be working for me, it only pring one value. If use alert or console.log, it shows them all. My code looks like below. $('.um-member-name').each(function(i, obj) { var n = $(this).attr('userEmail');   $("h2").text(n);         }); Any Ideas how I can solve this issue?
  • I don't understand why jQuery 2 and 3 won't work, both giving "Uncaught ReferenceError: $ is not defined"

    Hello I'm getting pretty confused about the 3 different jQuery branches, so I'm using both chrome and firefox (up-to-date) but I'm getting "Uncaught ReferenceError: $ is not defined" when using the newest 3.1.1 jQuery or 2.2.4... However when I use 1.12.4 everything works, which is strange to me. I'm loading jQuery google CDN as first thing in my pug file: script(src'https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js')  and I'm getting an error: jquery.min.js:4 Uncaught TypeError: a.indexOf
  • 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