• How to reset the degrees number when it went over 360 degrees? (Circle)

    Hello,  I made a circle which is draggable. Now if I dragg it like twice around, it says it's at 720 degrees. I want the count number to reset when it went once around. So if I dragg the circle twice or more around it still says 360 degrees.How do I do this? Regards, Jelle
  • Clone Duplication And Imprecise Drop Location Issues

    I have a dropdown menu which contains a table and inside this table are draggable icons. I was able to drag and drop the clone of each icon into a drop zone.  However, once the clones are dropped, when they are dragged they create duplicates of themselves. Also they go to the top of the drop zone instead of remaining at their dropped location. Please see my markup and code here.
  • responsive menu should close when clicked

    Dear Sir http://photohouse.net.in/index21.php the menu works perfectly fine  on PC, Lap Top sand even Mobile     However in case of Mobile (when I view it on Mobile) and click on internal link  for navigation e.g. About us the navigation / scroll happens  but menu remsains open I want the menu close rather collapse and then navigate to the internal link or vice a versa Please help    My Jquery code ( function( $ ) { $( document ).ready(function() { $('#cssmenu').prepend('<div id="indicatorContainer"><div
  • How to change a file's access path that is called in a function

    I have a function that calls a particular file .pdf however need to be able to change this file access path, it is possible? <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>         <script type="text/javascript">             $(function () {                 window.onload = function abrirPdf() {                     var iframe = $("#LoteSlips");                     iframe.attr("src", '<%=arquivo%>_ERRO.pdf#zoom=200&page=<%=i%>');                  };          
  • Question on terms

    Quick question ... what does '.map' mean in the filename? Ex: jquery.mobile-1.4.5.min.map Is it essential to include it? Also, the W3C Schools demos are fantastic but they don't say which demos use which CSS files.  That's not too horrible -- I'll just play around and see what does what. Thanks! Mike
  • How to make a custom map ??

    Hey guys , good day , i need to make the followng map: I just taught i would ask here if somebody  has done something similar before ? Or how do i go about doing this ?? I found this Plugin . But will i beable to make my custom map and also add my custom tooltip ?? Thank you. Gautam.
  • how to validate the div id value using JQuery bootstrapValidator??

    Dear Members, Greetings.. I want to validate the stars rating value that is stored in div Id and i want to use the div ID value to validate the stars rating in botstrapValidator. As, I know the methods, how to validate the input fields but dont knw how to validate the div id value.
  • Miltiple Ajax post call

    I have been tried for whole day and still can't find a solution to my jquery multiple post request problem. When I fast click Button-A then Button-B to trigger ajax call, the result on success: $(ID).append(data) completely goes wrongly into different target ID. I tried set async:false but it is deprecated. I'm using jquery ver 1.11.2. Thank you in advance for any help.
  • click function (multiple clicks and multiple divs)

    https://jsfiddle.net/zdtgo5zp/ I am struggling with the click function. I have three divs: one with some text that I want to change, and two divs that I want to be clickable. If I set up the click function to only work once on one of the divs, it works, BUT, I want to be able to click on it again and revert the text back to the original AND I want the process to work on multiple divs, which I am struggling with. Thank you in advance!!!
  • How can i do 2 different animation events like close or open with animate() just with one button(this button rotate to open and close too)?

    please can someone help me? I'm trying to do an animation. This animation consisting of 2 elements: 1.- Button (glyphicon-plus-sign from Bootstrap)  2.- and a Box-Content with width:12% .  when we click on the button, it rotates to negative direction and at the same time open the Box-Content width:40% with animate() which is custom animation from jQuery.  Now my Problem is: i don't really know, how to return the Box-Content to the original width which is 12%  and at the same time rotate again the
  • Help on this while loop please. Thank you!

    Hey guys I am creating this code for a ticket machine. The dialog comes up for the user saying how much they want to pay. I want them to pay more than or equal to 60. Which works as I want it. However, how can I execute that piece of code again inside the while loop? because I want if they enter less than 60 the same dialog box appears again.   public class TicketMachine2 {            public int money(int getprice )         {             while (getprice <= 60)             {                         
  • After click on menu button menu open on left side but when click on More all ul has opened. I want only related UL will open. Please Help i am fresher in Jquery.....

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script> $(document).ready(function(e) {    $("button.menu-open").click(function(){ $("body").addClass("stickmenu"); }); $("button.menu-close").click(function(){ $("body").removeClass("stickmenu"); }); var kvd = "ul>li:has(ul)"; $(kvd).addClass("parent-item").prepend("<div class='buttonlink'>More</div>"); $(".buttonlink").click(function(){ $("ul>li").closest('ul').find('ul').toggle('slow'); }); }); </script>
  • What is the correct way to Edit jQuery UI ??

    Hey guys , I have a very biginner question . So the default jQuery checkbox looks like so: but what i want it to look like is like so: What is the correct way to edit jQuery UI. For some reason the fiddle won' work :( FIDDLE HERE Thank you.
  • price dont show after selected

    Hello goodnight or goodmorning.I want to show a price different for each element of the second drop-down list without reload the page, I have received this solution but it is not not comply with my page because when I selected a element the price is not not displayed. I don't know if the problem is my HTML code or if it's my jQuery. I don't want to recover the price, I just want to show it. I have discussed this on a forum but I have not found the solution, I really want help,thank All sell phone
  • .css is not working

    https://jsfiddle.net/martaklopf/q62yttrc/ Hello! I was trying to do something really simple, which is: -hover on the date and get text in another div to change -once the text in the second div changes to a specific set of words, the background color changes. Neither of them are working in the jsfiddle I linked, and I feel like there is a really obvious solution as to why but I can't fissure it out. Thank you :)
  • Adding some css to inner most <ul>

    Hello, I have a JSFiddle over at: https://jsfiddle.net/hgbh43jf/ I am also including a screen shot of what I need this page to look like. What I need is some jQuery code that can traverse this tree and find the most deeply nested  <ul> and add the classes as shown above and set the background to yellow for the  <li>'s Thanks, Jim
  • Padding on all td except rows with certain class name

    This is more like a pure css question where the solution might not need any JQuery. I need to set padding on all table td except td within rows with certain class name. For example: <table border="1">   <tr class="no-padding">     <td>Row 1 with NO padding</td>     <td>Row 1 with NO padding</td>      <td>Row 1 with NO padding</td>   </tr>   <tr>     <td>Row 2 with padding</td>     <td>Row 2 with padding</td>      <td>Row 2 with padding</td>   </tr>   <tr>     <td>Row 3 with padding</td>     <td>Row
  • Jquery Tokeninput

    Hi    I am using Jquery TokenInput . I want to save values using Ajax in database. If multiple Tokens multiple records should be saved. <div class="form-group">                     @Html.LabelFor(model => model.CategoryID, "CategoryID", htmlAttributes: new { @class = "control-label col-md-2" })                     <div class="col-md-10">                         @Html.DropDownList("CategoryID", null, htmlAttributes: new { @class = "form-control" })                         @Html.ValidationMessageFor(model
  • How to use a Navigation-Part in JQuery (ul.nav li a)?

    Hey guys! I have a question about, how i can use a class for an jquery action. Here my example: .balken {     height: 100px;     width: 100%;     background-color: white;     border-top: 5px solid lightskyblue;     display: flex; } This is a bar at the top, in it is a picture and a navigation bar, you can see that they a in a flexbox. .sticky {     height: 50px;     position: fixed;     border-bottom: 2px solid red;     border-top: 0px; }When you will scroll, the class sticky will be added to the
  • Reversing animation of my menu on second click

    Hello everyone! This is my first post as I am just starting with jQuery. I am trying to reverse drop down animation of my menu on second click like this- $('.spinner-master').click(function() { if($('.inner:not(".animateinner")')){ $('.inner').addClass('animateinner') }else if ($('.inner').hasClass('animateinner')){ $('.inner').removeClass('animateinner').addClass('animateinnerrev') } }); You can see it here: http://codepen.io/i76/pen/KgWNxE The menu opens but it does not close (reverse) on second
  • Serious problems with jQMobile_child

    Dear Friends. I am very DISTRESSED. I can't seem to FIND where to make changes to my JQMobile_child theme. We have a wordpress website. Which works fine.  But we send people to the JQMobile_child theme when they are using their smartphone.   But we are trying to make a few changes to the JQMobile_child, such as change the phone number and fix a picture.   Please see the pictures.  You will notice the changes that we are trying to fix.   We also have a picture of the back end.  We can't find WHERE
  • Atleast one Token is selected

    Hi     How to ensure that user must select atleast 1 Token in Jquery tokenInput. Thanks
  • Neches Engineers-Position content outside JQM container

    Hi  I am Thomas working in Neches Engineers. If for some reason, I have a specific DIV content inside data-role=header, How I can position it like usually we do for css position:absolute ? I tried but it appear only as relative to header. I would like to make it position anywhere in the page. Thanks  Thomas Hanson Neches Engineers
  • jQuery doesn't work on server but locally

    Here's my site: http://hakuboi.co/m3_Chen/index.html This is one problem I found but I don't know how to fix this cuz it's from the jQuery plug-in file. I attached my file, it's working perfectly on my PC. Thanks a lot!
  • move image angle direction on google map

    I try this code for plotting data on google map This code is generate table through jquery and plotting data on google map and also on load small content window is display on every marker success: function (result) { var d = JSON.parse(result.d).response;  console.log(JSON.parse(result.d).response); console.log(JSON.stringify(result.d).response); $("#tabledata").empty();  if (d.length > 0) {  $("#tabledata").append(   "<thead><tr><th>No</th><th>DateTime</th><th>Status</th<th>Longitude</th><th>Latitude</th</tr></thead>");
  • how can sending a post with jquery

    how can sending a post ?
  • xml selector pattern

    I'm using jquery to manipulate an xml doc like this: $(myXml)... My xml has a root of <svg> and child <g> elements.  1 <g> has an id of "flowline" with multiple <path> elements. What would be an elegant selector to select all of these particular <path> elements?  Something like: $(myXml).find('svg g #flowline path') ?
  • Accordion roll-up button not working.

    Hi There I'm re-developing a site to be mobile friendly and have little knowledge of programming; however I do have a fair understanding.  I was having difficulties getting a close button to work from within the accordion drop-down content, until I found the following script:   $(function() { $( ".selector" ).accordion({ heightStyle: "content", collapsible: true, active: true, animate: 500, activate: function( event, ui ) { if(!$.isEmptyObject(ui.newHeader.offset())) { $('html:not(:animated), body:not(:animated)').animate({
  • clicking on tab to the left of another freezes tag on right, but not the other direction.

    Web page uses jQuery TABS and Tables. 15 tabs.  I a click on a tag and then any tag to the right, the second tag is non responsive. I click on a tag and then click on one to the left it works correctly. The tags have forms that get filled in from an ajax call to a controller which does an Oracle query. The returned data is show in a jQuery table.
  • Open Dialogue And Populate DropDown Within

    I have the following div on my page. <div id="edit"> <select id ="pages" ></select> </div> I want to populate the above dropdownlist with json data but it is not working . Below is my code. $(document).ready(function () {     var data = "[{'url1':'page1','url2':'page2','url3':'page3'}]";                 $('#edit').dialog({ autoOpen: false })     $('#editpage').click(function () {        $('#edit').dialog('open');                            $.each(jQuery.parseJSON(data), function (i, value) {    
  • How to split a string using JQuery?

    Hi all, New here, so hello. I'm using a system called K2 and use a Web service to return an address string is this format: 123 K2 Avenue,K2Town,K2County,K21456 This string is in a Textbox, so I need to know how I can use Jquery to split this string in separate Lines. I have 4 separate empty textboxes, so I can use separate Jquery to split the string to each line (based on comma count) But I don't know any Jquery, would anyone kindly create the first Jquery to split the string to show just the "K2County"
  • If radio is checked, check another radio button else

    Hi, I two groups of radio buttons when one is selected i want automatically change the checked status of the radio buttons in the other list. For Example https://jsfiddle.net/4n5121f6/ In my fiddle; the default checked status of the door options is the first radio button the default checked status of the handle options is the first radio button When i click on "Door not required" from door options i want the door handle options radio button to set to last option "SET TO 0" If i click on any other
  • Need help! - jQuery mobile and cognos integrations - Issue in IE

    Hi, I am trying to use the jQuery mobile as a UI in Cognos.  It is working fine in all the browsers(chrome, safari, firefox) but not Internet explorer(we are using IE 11). I am aware that jQuery mobile compatibility in IE is no more guaranteed. But my sample jQuery mobile code is working fine in IE if I uses it as standalone HTML file(without cognos).  So, if some one could figure out "what is the issue?" and "where the collision?" then this issue will be resolved. I have created a sample report
  • find html and change the corresponding div text in the family

    hi, i have the following html. <div id="TrainingPrograms">     <div class="TrainingItemBloc">         <div class="ImageIconHalf">             <img style="width:100%;height:95px" src="#">         </div>         <div class="TrainingItemText">             <div class="TrainingItemTitle">Supply Chain Fundamentals</div>             <div class="TrainingItemDescription"> Explore our six Supply Chain functions and discover how our expertise creates value for our customers and drives success in the World's
  • Call ID in jquery

    I try this method to get data and also i have try jquery . In jquery i call info method [WebMethod] public static string info(string id) { try { string result = ""; Entities er = new Entities(); List < sp_web_Result > sv = er.sp_web(id).ToList(); DataTable dt = new DataTable(); dt.Columns.Add("No", typeof(string)); dt.Columns.Add("Latitude", typeof(float)); dt.Columns.Add("Longitude", typeof(float)); foreach(var c in sv) { dt.Rows.Add(c.No, c.Longitude, c.Latitude); }; result = DataSetToJSON(dt);
  • location.replace(edge+document.location.hash) problume

    hi all friends i have a problume about location.replace when i use http://  in var edge the location replace url but when i did not use the url will be a path  exemple  location.replace(edge+document.location.hash)  var edge = http://google.com the location replace to google.com but when  i use var edge = google.com  the url google.com will be a patch like this site.com/google.com i want  correct  to with http:// or not the lacation replace . any solution ?
  • checkboxradio widget: checkbox click doesn't work with UI lightness theme?

    It seems that checkboxradio widget doesn't work correctly for checkbox inputs when using UI lightness theme. Nothing happens when checkbox is clicked. I prepared a fiddle here: https://jsfiddle.net/d8hkmuvn/ The same happens with Le Frog theme for example. In the API widget is stated: This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point. I'm using UI lightness without any modification. Thanks in advance.
  • $.Extend error after Chrome Update 53

    After the Chrome update 53, many of Jquery libraries that I am using in my projects are displaying "Maximum call stack size exceeded" while rendering the components. The stack trace shows $.extend method call as the error cause. Everything was working fine on Chrome 52, but this new update has broken most of the libraries. One curious thing is that this error happens intermittently. Has anyone ever experienced this? Thanks
  • Multiple buttons on dialog not calling correct functions when clicked

    Hi All, relatively new to jQuery and trying to get to grips with the UI dialog. I have created a function that allows me to create a dialog of whatever size, text, buttons, etc. I want and it's working pretty well. The last problem I have is relating to the buttons on the dialog. I am passing a string of label/functionName pairs that define the buttons to be created and the functions to call when each one is clicked but this is what is not working. I am getting the buttons with the right labels but
  • How to get selected text in a textarea and style it?

    Hi, I'd like to know how to obtain the selected text inside a textarea and style it. So I can create my own inline text editor. So if I press a button while I have something highlighted it will turn bold. Thank you
  • 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