• Open Sockets

    Hi everyone, I was currently alerted by my webserver provider that my application was opening 8 sockets and not releasing them.  They created a debug software which reports how many open sockets the server sees.  When I used there debug software, it appears my application is not opening 8 sockets, "I am currently working with them on this issue."  I only see one open socket and their webserver seems to close it. I am using the following JQuery: jquery-ui-1.10.3.custom.min.css jquery-1.10.2.min.js.gz
  • dialog not defined

    Hi everyone, I have never tried jquery widgets so this part of jquery UI is new to me. Any suggestions would be appreciated.  The presenting problem is that i get the error "dialog is undefined" error when the following code snippet runs:     $(function () {         $("#dialog-1").dialog({             autoOpen: false,         });         $("#TestButton").click(function () {             $("#dialog1").dialog('open');         });     }) Now this error is related to the references.  Here is what I have
  • Group validation is not working in asp.net with Jquery Validation Engine Plugin

    I am using jquery validation engine plugin to validate the form fields in my ASP.Net application. It works fine but there is a problem when i want to validate only set of fields on a certain button click.  Ex:  When i click on save button all the form elements must be validated. if click on verify Email Address it should validate only the email field whether it is empty instead validating the entire form elements. We have provision to handle this scenario with asp validators by setting the "Validation
  • why is jQuery 3.3.1 not used in many jQuery UI demos?

    i upgraded my web app to use jQuery 3.3.1 and jQuery UI 1.12.1 libraries.  While i understand i need to also update my code to reflect changes in jQuery and jQuery UI, i noticed that many of the current jQuery UI demos do not use jQuery 3.3.1. I use the jQuery UI demo sources to help with constructing proper and current jQuery and jQuery UI code, but it does not help when the demos do not use the current jQuery version and things end up not looking or acting right. why is jQuery 3.3.1 not used in
  • Datatable responsive

    hi , sorry for english ,can someone help me with datatable responsive , i want hide some culumns in a tablet or smartphone view : this is the code : <!DOCTYPE html> <html lang="en">   <head>     <meta charset="utf-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1">     <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->     <title>datatable responsive</title>
  • Disable single day of a week in datepicker

    Hi everyone. How can you disable a single day of a week in the datepicker? For example if a restaurant is closed on mondays so  people can't choose that day in the calendar. Thanks a lot.
  • validate

    Good morning, I have the text field and need to validate to make sure user has enter the number between 2-12. Can you please help how to do it? Thanks
  • Unable to clon the dropdown and set the value

    Dear All, In my below code I have text area and drop-downs in html table.  On my submit button I am trying to clone the row drop-down and set the value . Can any one please do let me know what's wrong in fiddle.And why I am unable to set the value Srk
  • Using PHP Session in JQuery using Json Encode

    I am trying to append one value from json encode. Here is my code: session.php echo json_encode($_SESSION); /* output */ "user_id":"1","firstname":"John","lastname":"Doe","email":"jdoe@email.com","role":"administrator","status":"active"} How do I then append just the firstname to index.html? <script type='text/javascript'> $(document).ready(function () { /* call the php that has the php array which is json_encoded */ $.getJSON('session.php', function (session) { /* data will hold the php array as
  • Change Datepicker minDate onClick

    Hi there, I am looking for a way to change the minDate of my datepicker onClick. I have two buttons, one needs to set the minDate to 0 and the other one to 1. When the user then clicks the datepicker input field, the calender shows with the specific mindate. So far I have below code, but the onClick does not change the minDate. What am I missing? Thanks for the replies! $(function ()  {     $("#datepicker").datepicker({         dateFormat: "M dd, yy"     }); }); $('#testXX').click(function ()  {
  • jquery variable in css (left: - "DivWidth")

    Hi, im in the process of coding up a sliding out menu. at the moment i am getting the div width in jquery like this  var Menuwidth = $('.SidebarWrapper').width();The width is 280px, but when developing new sites it could be different. this is obviously adjusted in the CSS file. How do i add the variable into CSS with a negative value equal to "Menuwidth" $(window).resize(function (){     $(Sidebarwrapper).css({         'transition' : 'all 0.4s ease 0s',         'left' : '- + Menuwidth +' /*This needs
  • Social authentication in pop-up window - but how do I close it?

    I'm planning to have the following functionality - 1. User clicks on social login button. 2. A pop-up window opens, which shows social authentication screen (viz. FB, Google, LinkedIn) 3. User logs in and allows the app to access data. 4. Gets redirected to the main app - at which point, the main browser window refreshes and the pop-up closes automatically. I've been able to get the functionality working till point 4 but only till redirect. I've no clue how to close the pop-up window after it's redirected
  • Conflict between datepick and JSON (I think)

    Hi:   Page connected to database using JSON. Works fine     <script src="httpsdocs/js/jquery.loadJSON.js"></script>  When I tried to add datepick to the date fields the connection to the server is blocked. Nothing in my error logs or DBI->trace.  I have isolated the problem to <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> by commenting out the linkages one by one to see when functionality is  restored. I am very confused on all the jquery release numbers..
  • validate and tooltip side effect

    Hi Team, I have all but finished my bootstrap form now, which includes 3 plugins: validate, datepicker and tooltips. I am very happy that individually they do what I want, but I have one issue left to solve when I run all 3 together. It seems that the error message <span> appended by validate does not get removed or updated correctly if I validate the error inout field more than once. I end up with <spans> being added after the original down the page. I am guessing this is because the tootip is introducing
  • How to upgrade select option code

    I have some jquery code that is quite old that uses "removeOption(/./).addOption(cats_reg, false)" to change the select options based on a checkbox. The version of jquery is jquery-1.3.2.js.   I have to move my code to where jquery 1.10.2 is being used. The code removeOption(/./).addOption(cats_reg, false) is no longer functions in the new jquery.  $("#offcampus_ws_box").click(function(){ $(".offcampws").toggle(); $(".chngtxt").toggle(); if (cats_reg !== undefined) { if (!($("[name=jobs_workstudy]").attr("checked")))
  • Best practices to convert data.

    Hi. I'm getting data from jQuery in format productID and display on tables. The issue is I need to convert the productID to productName. Here is the part to get all the data in productID and display in table-form on contentNeed. {source} <script src="<script src="http://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script> <?php  if(!@include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')){
  • How to create a URL?

    Ở lông mày xuất hiện các vết sẹo khiến bạn mất đi nét đẹp trên khuôn mặt thanh tú của mình. Bạn lo lắng không biết làm thế nào để có thể điều trị dứt điểm các vết sẹo đáng ghét này. Vậy còn chần chừ gì nữa, bạn hãy theo dõi ngay bài viết hôm nay của chúng tôi https://medium.com/phuntheumay/o-dau-phun-theu-long-may-dep-uy-tin-a2fa853fb59. Bài viết về chủ đề tìm hiểu một số cách điều trị sẹo ở lông mày hiệu quả, an toàn nhất. Đừng bỏ lỡ nhé. Trang điểm che khuyết điểm sẹo lông mày Sẹo ở lông mày xuất
  • I insert text to text box of Google form via jQuery

    How can I insert text to text box via jQuery Test form link : https://docs.google.com/forms/d/e/1FAIpQLSeG-xLPGRFIRzWpqjBkgPlPV2P2bMv0aIOh_5CLrnaiSajO7g/viewform?entry.1911185614=EE Class structure below <div class="quantumWizTextinputPaperinputInputArea"><input class="quantumWizTextinputPaperinputInput exportInput" jsname="YPqjbf" autocomplete="off" tabindex="0" aria-label="Q1" aria-describedby="i.desc.1641263984 i.err.1641263984" name="entry.1911185614" value="" dir="auto" data-initial-dir="auto"
  • Jquery draggable doesn't work

    In one of my web pages, there is a div containing an image wider than the div (container). In order to view it completely, it is to be moved by mouse. My problem arises when, moving it to the right, and to other directions as well, it goes on beyond the edge instead of stopping at the end of the shot.   I made some attempts: {containment: "parent"} When the image is moved, it jumps then stopping random. Also, when dragging the image, the cursor remains the one defined by (css) ? and does not change,
  • Attaching to OnClick after its run

    I am using a third party calendar and have attached an action to the onclick events of its buttons.  I need my code to trigger after the main onclick has run - how do I achieve this?
  • Problem with writing a small plugin

    Hi all, I'm trying to write a simple plugin for required field. I have a label to display an error massage and success massage. I don't know how to display massage. HTML  <div class="modal fade" id="dialogAddContPersonCustomer" role="dialog"> <div class="modal-dialog modal-wd"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Add Contact Person</h4> <center> <label id="lblErrorMsg" style="display:
  • Nesting drag and drop element problem

    I am having a problem nesting a drag and drop element.  I have a jsfiddle link below. I am trying to build a form via drag and drop.  I drag a "Fieldset" from the left menu to the black working area.  I can drag multiple then sort them to reorder.  I want to then drop fields in to the fieldsets.  The field is located in the left menu below the fieldsets.  I want to drag the field from the menu to the working area and inside the dropped/sortable fieldsets already in the working space. When I drag
  • Form jqueryvalidation validate

    Hello  I use from jqueryvalidation.org the part demo/multipart. All is working fine but at least I don't know how I can include in the validation I used before. In my form before i added a onsubmit function. With the step by step form the validation with onsubmit will be to late. I need to validate in the first step two fileds (KRegSumme and KRate). how can I include in the multipart demo code like this: function myvalidate() {         var a = document.forms[0].KRegSumme.value;         var b = document.forms[0].KRate.value;
  • datepicker default hour settings

    Hi, I'm new to jquery datepicker so apologies if my question is silly Sometimes, through firebug, my datepicker dates (here maxdate) show values one day less (here: Date 2018-03-31T22:00:00.000Z)  than what the datepicker shows in the calendar: and I noticed that my datepicker dates substractions precision are more or less 1 day. I suspect a default hour setting or UTC zone problem. My website is in three languages. How can I control that datepicker works in universal time code and default hours,
  • Jquery datepicker

    Hi  I am using datepicker function in jquery  but it not working for different Timezone,  i have changed my system timezone as 12:15am and date was 03-29-2018. and pass this date to maxDate then i was not able select 29 and was able to select 28 only. it is working fine for some Timezone but not for all. Any one have idea regarding this.Please help me out ASAP. Thanks  Rachana
  • Hello! I have questions, how to write ajax response for checkbox?

    If checkbox checked, send to DB true.  Maybe someone has something like this or can help write code
  • How to auto-resize the text area using Jquery

    Dear , I have text area where I had applied html wrapper using some css and Jquery resizable ,  But my client wants to get the text area height and width  increase automatically when the content get increase in it.  Can any one please help me how can I make it using Javascript Srk
  • Recived JSON data sen by Jquery

    Hi. I have a problem with recived JSON data by Jquey. I recive data ba Google apps script, but this no matter. Data is sensed (by test) from html file from my local computer and recived by Google script. Code of my html. <!DOCTYPE html> <html lang='pl'>   <head>     <meta charset='utf-8'>   </head>   <body>   <div onclick ="A1()"> TEST </div>   </body>    <script   src="http://code.jquery.com/jquery-3.3.1.js"   integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="   crossorigin="anonymous"></script> 
  • How to close the current tab using jQuery?

    Please guide me, To close the current tab using jQuery. function closeCurrent() {      var x = confirm('Are You sure want to exit:');      if(x) {      //window.open('invalidUrl.html', '_self', ''); // not works                  //window.open('invalidUrl.html', '_self', ''); // not works                  //window.open('invalidUrl.html', '_self', ''); // not works     window.close();      }    } <button onClick="closeCurrent();">CLOSE WINDOW</button> Thanks, Surendar
  • tabsshow does not fire after upgrade to jQuery UI 1.10 (works just fine with 1.9)

    Hello folks, I am executing the upgrade of jQuery UI in my project, and I found a problem. I am trying to upgrade to jQuery UI 1.11, but after upgrading the jQuery-ui version the 'tabsshow' event is not firing up anymore. I checked the changelog, but I could not find anything related to this event. Has anybody here experienced this before? I am currently using: jquery-ui-1.8.14 and jQuery v1.6.4. The code the is not being executed after the upgrade is the following:  $(document).bind('tabsshow',
  • Cascade method not taking place between column drop-downs

    Dear All, I have Data table with some content , But when I filter the column the cascading between columns are not taking place . Example : If you see my below snap I have employee Donna Snider , When I select it I should get all the positions of that particular employee in my "Position" column drop down .But I am getting all the positions of my table in drop-down. And I a expecting all the drop-downs to hold the relevant values of employee when I select any employee name  . https://jsfiddle.net/spspecalist87/Lhxnfsy5/5/
  • WP Media Uploader Unselect Image on close

    Hello,  I am a WordPress developer. I have created an image uploader on Custom Taxonomy [like a featured image for taxonomy]. I am able to upload the image and save it. The problem is, if I do not select image from media uploader popup and just try to Save it then the image selected in previous taxonomy term gets added on the current taxonomy term as well. Lets say I have selected an image for taxonomy term A and save it, it gets saved. Again if I add another taxonomy term B without selecting the
  • How can I isolate a div with a particular class name with another div of the same class name?

    I have isolated the problem in this pen. Explanation :  I am using a plugin called jquery upload preview to upload an image and preview the image on the div as a background. In my web page, I am dynamically creating more and more divs with the same class name but since the class names are same, the upload preview is getting applied for all. I want every other div to get isolated from each other. Is there any solution I can apply here. Please check out this link, it's a pen where I have isolated the
  • Watermark

    Hi I am trying to use jquery to add a watermark to an image. I understand little of jquery any help would be appreciated. The relevant code is in the function ChangePic -class picnamew ......(file:ecovib2d_adriant.php (txt)). Thanks.
  • Dynamic Multiple Dropdown list with append method not working

    Hi guys, my problem is that in browser my dynamic multiple drop down select list not showing at all !! i m using append method like that. i have two drop down, when click on item in first drop down, in show data to secound dro pdown (is multiple), but in secound dropdown don show data, but data loaded in HTML (when insept dropdown with chrome). first dropdown : secound drop down (multiple) : and insept dropdown : and my jquery code : var populate_models;     $(document).ready(function () {      
  • Calculating the height of a div using line-height

    Hi, I'm new here. :) I'm redesigning my portfolio page: marxen.design/test I want to have an intro <div> filled with ///////////// but I want the <div> to end after the page fold without cutting apart the last text line. So heres what I've tryed: var mathHeight = ((Math.ceil(($(window).height()         -($(window).width()*0.1)) / $("body").css('line-height')))         *$("body").css('line-height')); var introHeight = function(){ $('#intro').height(mathHeight); }; introHeight(); css: #intro { width:
  • Hide Jquery Data-table filter drop-down option for particular column

    Dear All, I am using Jquery Data table to hide the filter drop-down for particular column .When I use the below lines it is hiding entire column instead of drop-down of that column . Can any one please help me what I am missing to achieve my task https://jsfiddle.net/spspecalist87/Lx5wykk5/   $('#example').DataTable( {    "columnDefs": [     { "visible": false, "targets": 0 }   ], Srk
  • Hello. I take data from table and substitute them to other table. I'm take necessary data, substituted id to other table, instead #sel1 on selected file. I'm not seeing a mistake

    select data from table PHP <td> <div><strong> <select class="form-control" id="sel1" name="sel1"> <option value="" selected="selected">Select:</option> <?php $sql = "SELECT id, mo_number FROM filters"; $resultSet = mysqli_query($conn, $sql) or die("database error:". mysqli_error($conn)); while( $rows = mysqli_fetch_assoc($resultSet) ) { ?> <option value="<?php echo $rows["id"]; ?>"> <?php echo $rows["mo_number"]; ?></option> <?php } ?> </select> </strong></div> </td> PHP include 'crud.php'; $object
  • Day of week and time picker

    Is there any plugin or config that will allow me to select the day of the week and a time only.  i.e. not the calendar date, just Monday or Wednesday etc?
  • Datepicker - rolling back the years

    Hi there, I'm considering using the datapicker fr an app, it's my first time looking at jQuery UI. The issue I can see from the demo is that the datepicker does not have the ability for the user to roll back the years, or select a particular year. Am I missing something?
  • 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