• Capture checkbox click on either ID

    Hi all I have the following to capture a click event on any checkbox where it's ID begins with 'iagree': $('body').on('click', '[id*=iagree]', function (e) {       What I need to do is add in the ability to check if adifferent id is clicked as well, as part fo the same line of code (if possible). i.e: $('body').on('click', '[id*=iagree],[id*=otherone]', function (e) {       How can I do this?
  • ajax data xml string problem

     $(document).on('click','#metadataListTable .delete', function () {  /                 var ans = confirm("Do you want to delete Metadata?");                 if(ans==true){                  var nRow = $(this).parents('tr')[0];                  var data = oTable.row( $(this).parents('tr') ).data();                  alert( data[10] +" ========= "+ data[11] );                  oTable.row( $(this).parents('tr')).remove().draw();             $.ajax({                 url: "deleteMetadata.do",          
  • Jquery validate - how to use a custom method in add rules

    Can anyone please help me with a question on Jquery validate plugin, I have created a custom validation using AddMethod, now I want to use this method inside a rule while using rules add. How do I do this.
  • .click() not working

    I'm doing a site located at http://matjohnson.wc.lt/ On the supporters area of the page. I want to trigger the 2015 button so it filters those down, but the following code does not work :( $('a:contains("2015")').trigger('click'); Now I know it finds the element because when I alert it out it shows the element value. But it just doesn't trigger the item. Anyone got any help?
  • fixed table header using jQuery

    Hi, I am trying to create fixed header for my table. I know we can use using simple CSS but i want to use using jQuery. I am trying to follow some code found in net and the problem i am facing is when i scroll to the top of the page the header is getting attached to top of page and two headers are getting displayed. Here is the bin http://jsbin.com/zifimeyuda/1/edit?html,css,js,output Could any one please help me with this
  • textbox creation using textbox input

    Hi guys.if i give semicolon as input means i have to create a textbox in jquey.I tried this code and it flows correctly but it didn't show me the result.pls help me out..  $(document).ready(function (){             $("#hellotxt").on('keyup', function (event){                 if (event.keyCode == 59)                 {                     var txt = $("#hellotxt").val();                     var valueArray = txt.split(';');                     var valueSortArray = valueArray.sort();                  
  • theme roller import not importing my theme

    I have a theme I am trying to import into theme roller so I am can make changes, but when I click import, only the first two are imported. If I add more themes, by clicking the + button, and do the import again it pulls them in, but the theme settings, on the left side of the screen, are not updated and they still list the defaults. Even when I turn on the inspector it still shows the wrong values. I have attached a copy of my current themes css file so you can try it yourself. Any help would be
  • clone count

    I'm trying to clone items once on click and toggle, I thought if I ran a count it would help prevent clone multiple times, I placed in a jsfiddle page, any advice would be great.  http://jsfiddle.net/sx0zf8es/
  • Jquery loaded at the bottom of the page

    I'm having problems with something that is probably pretty basic, yet I can't quite figure out what to do.  Lots of sites link jquery in at the bottom of the HTML document.  This seems to be the recommended practice.  What I don't understand is how to use jquery earlier in the page when that happens.  I try to put a simple script on a page, which I've test and know works, but if the Jquery is loaded last, it doesn't work.  I've read up on using  $( document ).ready() and the short hand, but that
  • Jquery slidetoggle without moving bottom content

    I got this function which show up the second frame when the button is clicked. This is doing what i want but the problem is when i clicked it again, it shows the first frame, i only want it to show the 2nd frame. I have another button that does showing the first frame though. Thanks for the help. $(function() { var pos = $("#iframeE").position(); $("#iframeO").hide(); $("#wrapper, #iframeO").height($("#iframeE").height()); $("#wrapper, #iframeO").width($("#iframeEt").width()); $("#btn").toggle(function()
  • Deprecated Methods in Jquery 1.11 from 1.4.1

    Hi, Could anyone help to identify the deprecated in jquery 1.11 from 1.4.1? or where to get the details Thanks Ulaga
  • Max size on POST method

    Hi, What is the maximum size of a response with $Post?  How to make the server send the response into pieces? Thanks in advance
  • find td of the current tr

    Hi, I wrote this code : http://jsfiddle.net/mlotfi/zxd6p5ss/ it's working fine, the console display what is expected. but when I run it in my machine (not in jsfiddle) I got null for both of them. here is the markup of my page : http://pastebin.com/U2p8PLAW Thanks.
  • Italic font on api.jquery.com is hard to read

    Or is unreadable at all. Depends on the browser and OS. See screenshot from Chrome on Windows 7. I believe I'm not the only one who would appreciate more appropriate font there.
  • missing several *.js progs

    After building my custom jquery-ui (1.11.4) I can't find several tools (e.g. jquery-ui-tooltip.js). Where are they?
  • i've made my first jquery plugins and need a experet views

    Hello Dear, I have made my first j-query plugin for form validation, please review on http://jsfiddle.net/mukesh84tech/zbww69ed/ and post your review so that i can improve my coding skills and logic and can make better..
  • What is wrong with this code??

    Hello, please can someone tell me what is wrong with this code?  I have hidden the price of all items in my shop, but I want the price to show on one of the product categories.  Pages where I want the price to show (all subcategories of this page) http://3dfitnessgroup.com/nutrition-supplements-30-c.asp  Code:  <script type="text/javascript" language="javascript">    $(document).ready(function() {       $(".side-header ul li:contains('Nutrition Supplements')).find(".cat-product-price").css({"display":
  • Call function based on input

    I've an textbox in asp.net,when i enter ";" semicolon in textbox means it have to call a function.Is there any way to do this.please help me out guys..i tried change function but it calls at every keypress in textbox.
  • jQuery animate doesn't work on second slide

    I'm building some fancy slider with different effects. I've created the first slide and the effects are working perfectly, but when I click on the next button, the effects doesn't work on the second slider. EDIT: Here's the fiddle: http://jsfiddle.net/emco83/az135syn/ EDIT2: Something to add: If I make separate the two divs for slides on a separate pages, after clicking on a next button, the animation for the second slide that's displayed on a second page works great, but the issue stays if its a
  • Flexslider: adding video to slideshow

    I'm having all kinds of problems getting Flexslider to behave, even though I'm using their demo code ( http://flexslider.woothemes.com/video.html ). The video starts playing immediately and the slideshow just freezes on image #1 - no controls working. Slideshow with images and video Any help would be appreciated.
  • Assign serial number to datatable column

    How to add serial numbers to datatable  first column for example sr No  Name 1        pp 2        po 3        iu 4         yy
  • [jQuery] clone()

    Hi, I need a clarification regarding "Clone" method in jQuery. I have written the following. HTML: <body>  <p>Paragraph 1</p>  <p>Paragraph 2</p>  <p id='p3'>Paragraph 3</p> </body> JS/jQuery:       $("p").on("click",function(){             console.log("Paragraph clicked");       });       $("#p3").on("click",function(){             console.log("Paragraph 3 clicked");       });       //Cloned all paragraph elements and keeping all event handlers       var $paras=$("p").clone(true);        //Changed
  • Prev & Next page BTNs traveling through the menu

    I'd like to add 2 buttons down on my pages that go to the previous and next pages and, if possible, take their links straight out of the navigation already present (and relative to the page I'm on). I've only gotten so far with this for days and I could sure use some handouts :p The menu is the Foundation off-canvas one and it poses problems for me because of all the nesting and stuff. I would prefer if I could get the actual links straight out of the ul.off-canvas-list, but I can't find how to skip
  • Need to use password strength in jquery validation

    Hi, I am using http://bassistance.de/jquery-plugins/jquery-plugin-password-validation/ for password strength along with jquery.validate.js. jquery.validate.password.js - version 1.0 jquery.validate.js - version 1.13.1 jquery - version 1.11.2 But seems it is not working properly.. i have old password, new password and confirm new password.. I need to have password strength for new password, but when i type old password, password strength changing and also confirm new password not displaying proper
  • Selectmenu (popup menu) too wide on iOS

    I'm working on a mobile app for iOS, using jQuery and jQuery mobile.  I've got a selectmenu that has relatively short text in each option.  It looks fine on PC/OSX Chrome/Desktop Safari.  But on the iPad, the selectmenu options are way too wide for the short text (see images). I've tried applying various CSS styles to different parts of it, but I can't figure out how to change that width.  It appears that the native "option" tags are hidden, in favor of styled ones created by either jQuery or iOS/Safari.
  • Can I get JQuery tabs loading via ajax not to abort on tab switches?

    Using 1.11.2 of JQuery and UI. I have an ajax generated Tab object that contains clickable elements that add new tabs to this Tab. Multiple tabs can be added.   When one of these tabs is selected, or the clickable element is double clicked, the tabs panel is created and the ajax request to load the data is built and initiated.   If another tab is selected before the ajax request is completed an ui.jqXHR.error is received with a status of zero and statusText of 'abort'. How can I keep the initial
  • Issue on Replacing Special Characters in a <pre>

    I am trying to use a jQuery Plugin for highlighting my Snippet at This Demo  but the browser assumes that   <pre class="php">  <?php     echo "My first PHP script!"; ?> </pre> is a originally PHP code which it is! now the solution is: Replacing  all  <  with  &lt;  and  >  with  &gt; inside the  <pre class="php"> Now can you please let me know how can I use the jQuery to replace all < and > characters inside the <pre> with &lt; and &gt; before loading the page? Thanks
  • Importance of updating jQuery

    Hi there. At the moment im developing telmodi.dk, where jQuery is used to most of the action on the site. I have implemented all my javascript in one file, thus the newest jQuery version as of now. Would it be an idea to reference jQuery separately in stead, to always have the newest edition, or doesn't it matter ?
  • tablesorter in Joomla

    Hello everybody,   I have a question. I use Joomla and would like to have a sortable table in an article. Of course there are some plugins available, but they are not for free. On the other side I create my table using a PHP script. So I guess tablesorter would fit perfect.   Now my question: How do I have to "install" tablesorter to my Joomla site? I apologize for the question, but I am new to this topic and have no clue what to do. I would be pleased if anybody could help. Any hint is welcome.
  • jQuery Mobile. Button size on Footer

    Hi, I'm new to jQuery Mobile but so far I can tell it's really good. Unfortunately I got stuck with styles.  1. All buttons look the same across the app except buttons on Footers. They're smaller, font is smaller. Is there a way to have the same size button as in Content part? 2. On Footer I need to have button at full width and to achieve that I need to put it in ul/li but then top/bottom border of the button is not visible. When it's elsewhere outside ul/li it's fine Thanks in advance!
  • Code works in jsfiddle but not online

                                 <h3><a href="http://www.bestorlandovacationpackages.com/Item/Westgate-Town-Center-Timeshare-Resort-Promotions-Disney-World-Tickets">Westgate Town Center Promotion with FREE Disney World Tickets</a></h3>                             <p>Enjoy a fantastic stay at a timeshare resort just 1 mile from the main entrance to Walt Disney World. Amenities include: mini golf, a large number of pools and paddle boats to name just a few.</p>                             <button class="btn
  • integrate JsQuery

    Hi, im trying to integrate a jsquery plugin (listnav) to my very first page. i dont really know how to do anything so far. i just tried to solve it through following the instructions on the jQuery How to, and several other w3schools sites about jQuery. Hope you can help me. i added my code that ive been working out so far. kind regards <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
  • JQuery cycle

    Hi  I am using cycle method from http://malsup.github.com/jquery.cycle.all.js ". I have created a div with some images in it which I want to slide, I am calling the cycle method on the div, now when i sign in the page for the first time the images are not sliding but as i refresh the page the images start sliding, why must that be happening ? Also I want the images to slide as soon as i sign in, i have tried using document.ready(function(){ }); but have same behavior. <script type="text/javascript"
  • flex slider wrap text

    Does anyone know how to get the text in flex-caption to wrap? I've got some long descriptions that need a second and third line. Thanks.
  • Reset Select Menu when back button is clicked

    Hi there, My question is related to this code http://plnkr.co/edit/r7B4mck6kfRhuvjEKVrG?p=preview After clicking on Search Database button, the db_result page is displayed. When I click on Back Home link on this page, how do I reset both the Select Menus that are on the home page. Thank you for your time and support. Joe
  • How to stop panel from opening under certain conditions

    To whom it may concern, I'm trying to stop a JQM1.3 panel from opening if a certain condition is met. So far I have an event that checks before the panel is open and check a global variable if it equals a condition should prevent the panel from opening. This is the what I have so far JSFiddle Link. HTML: <a data-role='button' onclick='openPanel();'>OPEN</a> <a data-role='button' onclick='closePanel();'>CLOSE</a> <div data-role="panel" class="rightPanel" data-theme='d' data-position="right" data-display="overlay"
  • adding custom animation while toggling

    Hey guys , checkout my fiddle  , its the most simplistic of toggle menus ,  now see how the menu does't have any effect while toggling , how can i add a custom animation , while the menu toggles ??  Please advice . Jquery menu code below:  $('#r-menu').on('click', function () {     $('#menu').toggle(); // end toggle }); Thank you .  Gautam. 
  • Need help with hover()

    Hey guys, have a little problem with the hover() function:  Code: $("#header-Home-li").hover(function(){ $("#header-Home-li").fadeTo( "slow", 0.33 ); }, function() { $("#header-Home-li").fadeTo( "slow", 1 ); }); To my Problem: When I go over the <li> element it hovers forever when i stay on the element. The text just blink (hover) for a while.. Any ideas how i can solve this?  Thank you 
  • contenteditable not working sortable and draggable

    why contenteditable not work when I pull into sortable http://jsfiddle.net/pwppb78n/
  • autocomplete for dropdown button

    hi to all   i tried to slide down for my dropdown list.   http://jsfiddle.net/harithareddy/g15tq78n/ i place one text box in that one.i confused to do an auto complete to my list .i dont want any plugin for that one...
  • 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