• Icons disappeared after moved to "without theme" css

    Hi guys!  I moved from the default jquery mobile theme to the "without theme" css because I need to customize the grapich. However it would be nice to use the standard jquery icon. Can you tell me how to do it? After I changed the css they have not been shown anymore. Thanks in advance
  • stop multiple animations without stopping current animation

    Hi I have an animation that rotates my logo on mouseover. If I sweeps the mouse multiple times over my logo the animation will repeat itself for a long time. I don't want that. Using stop() makes the animation stop and I don't want that either. I want it to complete the current animation but not add to the que. How do I do that?
  • How to get particular href?

    <a onclick="return false;" target="_blank" href="15"  id="accounting_send" class="glyphicons no-js book"><i></i></a>                              <a onclick="return false;" target="_blank" href="16"  id="accounting_send" class="glyphicons no-js book"><i></i></a> <a onclick="return false;" target="_blank" href="17"  id="accounting_send" class="glyphicons no-js book"><i></i></a> $("#accounting_send").click(function () {             var docID =  $(this).find("a[href]").attr('href');             console.log(docID);
  • http://plugins.jquery.com/postreceive-hook 502 error

    Hi guys. I can't send web hook from github, url http://plugins.jquery.com/postreceive-hook always returns 502 error.
  • Use of IscrollView on Windows Mobile - Sticky, non responsive scrolling

    HI,   I have implemented iscrollview into my project. Works fine everywhere: desktop, ipad, mobile S4, iPhone S4, but not on Win8 mobile. If willing to help, can you have a look at www.networkshopping.com. All html is in the page itself, so no dynamic loading. Iscrollview is definitely working (you can see the scrollbar ..). If desired I can upload a video of the problem.   Thank you .. Steve
  • Animation gets interrupted when user clicks multiple times and fast

    Hello all, I'm quite happy with an effect on http://4nf.org/ I called "squeeze". I've currently set the time for the animation to 500 for illustration purposes. What the algorithm in pseudo-code looks like is as follows: For every valid click: - animate the width of the #content div to 0, increasing the margin reciprocally. - swap the #content div with Ajax - animate the width of the #content div back to original value, decreasing the margin reciprocally. Everything works fine, if the user operates
  • jquery not working in all pages

    I'm doing a jquery mobile project in Webmatrix 2. And jquery only works in index.php(default page) and it does not work in the other pages. Any help please?  
  • .on not working after .off

    Dear All I am using following code for mouse enter and mouseleave effect $('.basesmall').mouseenter(function(){        $(this).find('img').stop().fadeTo('slow', 1);       });    $('.basesmall').mouseleave(function(){        $(this).find('img').stop().fadeTo('slow', 0);       });      Basically managing the opacity of image residing inside the div when mouse is entered, the opacity is full and when mouse leaves, the pacity is zero (not visible) On click i want to keep the image visible In order to
  • Update JQuery ui Combobox with button

    Dear community, I am trying to use the JQuery ui combox and trying to link it to a button. Here is my fiddle: jsfiddle.net/tokool/e339zu9t                   What I am trying to achieve is to change the selection of the JQuery dropdown combobox using a separate button called "next". The result I would like is: every time I press the "next" button the JQuery dropdown should change automatically to the next selection and alert my to the ui.item.value. So If I have selected Q2 from the combobox, and
  • First word with different style

    Hello!! I'm having problems with css styling. I'd like to set different style for the first word of a li element. The problem is, I can't add a tag to the html because is a prestashop site.... And, we are talking about the menu... (dynamic). So, my option is jQuery. I need something like :first-word but I don't understand what I've founded in the Internet. So, could it be possible something like: var Words = $('nav li').text(); var FirstWord = Words.split(' '); //FirstWord[0] // and then I'd like
  • dialog save position and size

    I have  dialog in a page the auto-refreshes every 5 minutes.  If the dialog is resized or moved i would like to save its position and size.   what is the easeist way to do this?   thanks for any help. <div id="dialog_mon" class="mon" title="Dialog"> </div>  <script type="text/javascript">                                 $(function () {                                         $("#dialog_mon").dialog({                                                 resizable: true,                                                
  • Why $.isNumeric() and not chainable .isNumeric() ?

    Personally, I'm really glad that parseInt() can be rewritten as chainable .toNum() so that the readability our code can be improved. (reference ) And that makes me think of jQuery.isNumeric() and jQuery.trim() . Was there a particular reason that they weren't be written as chainable .isNumeric() and .trim() ?
  • filter() Jquery

    function unveil() {       var inview = images.filter(function() {            var $e = $(this);         if ($e.is(":hidden")) return;         var wt = $w.scrollTop(),             wb = wt + $w.height(),             et = $e.offset().top,             eb = et + $e.height();         return eb >= wt - th && et <= wb + th;        }); did't quite understand the usage of filter on the 2nd line . is it the Jquery filter function() ??  if it is , the filter function 1st take s a 'creteria' which i don't see
  • removing item from array

    hey guys...im trying to make a multi-file uploader...but am having a problem when trying to remove a item from an array if anyone can tell me why here is my code <script> $(document).ready(function() {     var max_uploads = 10;     var uploads     = 0     var files       = $('.input-file').prop("files");     var file_count  = files.length;             $('#input-file-button').click(function() {         $('.input-file').click();     });         $('.input-file').change(function (){                 if
  • jQuery Slide Toggle Affects Multiple Divs

    i'm currently trying to implement a slide toggle on a repeatable block of code. Once the trigger is clicked it opens up a comments panel. At the moment it is opening all of the panels. I have JSFiddle here  http://jsfiddle.net/qkhq0qt4/ if you click in the box where it says 2 comments you will see it opens both divs i need it to open only the one that is clicked. help much appreciated.
  • $('#[0].txtnumber')

    Hi,  I'm developing an application with ASP.net MVC. I get an error for the following code. var obj = $('#[0].txtnumber');  Error:  Unhandled exception at line 1437, column 2 in http://localhost:24894/Scripts/jquery-2.1.1.js 0x800a139e - Syntax error, unrecognized expression: #[0].txtnumber Html: <input name="[0].txtnumber" class="form-control" type="number" min="0" max="99" value="14" data-val-required="Number is required" data-val="true" data-val-number="The field Number must be a number."> How
  • Defining icons in the contextMenu plugin

    So far, I was able to create a contextMenu that binds to a right mouse cilck by including the javascript in a html file: var Feature = { register_contextMenu : function(){       $.contextMenu({             selector: '*',             items: {                    "item_one" : {name: "Item_one", icon: "./path1"},                   "item_two" : {name: "item_two",  icon: "./path2")             }       }); } $(document).ready(Feature.register_contextMenu) How would one go about displaying icons alongside
  • Click Events Not Working

    I'm learning from the book "A software developer learns HTML5, Javascript, and jQuery" and I've been entering in the example app that the author uses.  I just added all the click events and none of them seem to work. Can you take a look at my code here and offer some advice? http://jsfiddle.net/kieroneil/ter6oz9r/ Thanks
  • Database connection with jquery mobile for an absolute beginner

    I am currently developing my first jquery mobile site. Now I am trying to get a Database connection to get data from the server. All references I've found are no help to me as they are to complicated. Could anyone give me an easy example of how to get a database connection to retrieve data to use in the .js - file. That would help a lot! Many thanks
  • JQM 1.4.5 Demo View Source

    On the demo pages, for example: http://demos.jquerymobile.com/1.4.5/checkboxradio-radio/ If you select the View Source button and then try to select the source it won't high lite the text. You have to double click in order for the text to be selectable and then when you select the sample text, a lot of non breaking space characters are embedded. This makes copying source very difficult. This was not the case prior to 1.4.5.
  • selectmenu on a dialog box probem

    The dropdown menu appears on the back of the dialog. Prepared a demo : problem with jquery ui selectmenu on a dialog Can somebody help me to understand where (if) I wrong? Thank you Claudio
  • jquery error

    error in js file please help me. php file <div class="ca-content">                          <a href="#social-media">                             <h3 class="ca-main">Social Media </h3>                             <p class="ca-sub">Social Media Administration<br/>Social Media Automation & Analytics</p>                                                          </a>                                                       </div> <div id="contact-top">     <div id="home2 ">            <div id="social-media">
  • Toggle (slideIn / FadeOut) multiple Divs in the same place by individual menu items

    Hi everybody, since two days I am trying different jQuery codes to get the above described result, but didn't get the result I want yet :( Now I just hope you, the experts here, can help me out a little with that. I've deleted my old attempts, so it's not too confusing. I'm sure it's just an easy thing for you guys and I really appreciate every help you can help me here. Ok this is the html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>SlideIn</title> <meta http-equiv="content-type"
  • Jquery Drag Drop scroll issue in mboile browser

    check code http://liveweave.com/DxFQcV enter image description here i have both scrollable and droppable object , problem i that when i try to scroll in mobile device object starts dragging how to stop dragging behaviour when scrolled   is it possible to stop vertical drag drop or any better way to overcome it i had set axis:"x"   but still problem in mobile browser what could be solution: 1: is it possible to start drag when mouse goes out of image ul 2: or can i start drag on tap or taphold event   or
  • Need to convert a asp.net validation code into a jQuery validation

     //this function multiplies digits 1,4,7 by 3, digits 2,5,8 by 7, and 3,6,9 by 1, and             //adds the results together. If the total is evenly divisible by 10, then the check digit is ok             //otherwise, it is not.  example "good" trn = 263181368 if (sTrn.Length < 9) return false;  int[] multipliers = new int[3] { 3, 7, 1 };  //multiply each digit by one of these numbers             int s = 0;             int m = 0;             for (int i = 0; i < 9; i++)             {            
  • jQuery Accordion and Tabs

    When I look at demos on the jQuery UI site, it seems that the tab and accordion demos have lost their style. Instances of them I'm currently using have done the same.  I've looked in multiple browsers and multiple forums to no avail. Would anyone be willing to look at code for me?  There's lots of it below.  Nesting accordion items within tabs themselves. Link: MCS <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"
  • Button not receiving hover and active CSS styling

    So the developers on my team are using the jQuery UI buttons for this dialog. The buttons on the bottom work correctly in terms of getting the theme's CSS button states. The one's highlighted in red are NOT. They all have the same exact CSS classes. This is the HTML for one of them: <button class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false" type="button" data-bind="click: drivenOne.searchViewModel.simpleSearchButtonClick">       <span
  • Uncaught SyntaxError: Unexpected token )message: "Unexpected token )

    I don't see the syntax error? $( document ).ready(function() { if ($('#all-activity-tab.current')) { $('#all-activity-tab.current').parent().parent().hide(); $('.accordion-content').width(100%); } });
  • $(this) context

    What I'm trying to do is changing the text of a div when pressing a button. Since the button is inside a div that's inside the div I'm trying to change the text of, I did this: function changeQuan() {       $(this).parent().parent().text("lel");       alert($(this).parent().parent().text()); } The alertbox itself shows up, but there's nothing inside. When alerting without .text() it returns an object, so I guess this should work, but it doesn't. The divs and buttons are inserted with php: $output
  • JQuery dynamic changement page on a Iframe with animate() doesnt work

    Description of my code: I have many "a" tag dynamically changing my "iframe" attribute sources. im using animate() because fadeOut() fadeIn() doesn't work because i have transition inside my CSS on my iFrame tag. I'm using negative value on opacity to increase the effect time.the effect side work perfectly My Problem: nothing change inside my iframe i dont find out my error ? thanks in advance $(document).ready(function(){ $("a").click(function(e) { e.preventDefault(); $('#iFrameA').animate({opacity:"-5"})
  • Load help

    Struggling to find a way to do this.  I have an html table that is loaded from the database whenever a new user logs into the site.  What I need to do is refresh the data in the html for all logged in users when someone new logs in.  Then all logged in users will be able to see the latest list of logons. Here's the table code for reference: <?php     if ($ncs_callsign != 'NONE' && $_SESSION['User_Callsign'] != null)     {         // The Monitors table         echo "<div id=\"scroll\">";         echo
  • How do I query a multidimesional array for autocomplete

    Hi All, I have a table with color code, color name and ID is it possible with the autocomplete feature to query the code and name fields and return the ID field? is there any example or documentation about this ? thanks in advantage ! Bauke
  • CommentBox or guestbook using JQuery and xml

    Hi I want to have a comment box or guest book in my html page where visitors can leave their comments. I want to implement this using jquery and xml file. Can someone please guide me to any jquery plugin or some tutorial to achieve this? My site is hosted on IIS8 and rest of the site is in .net, so I guess php codes will not be useful. Thanks
  • Jquery IP address changes

    I recently had a host block all no US based IP addresses. This blocked links to Jquery.com files.  The host has since put in IP address exceptions so the code is not working again. My concern is that the IP addresses my change in the future?  Is this likely or possible?
  • jQuery mobile: Code repetition

    Hello,   I am making pages using jQuery mobile. But I am stuck with the HTML code repetition in my pages. I have created panel in every pages [data-role=page]. Panel content is same for every page. So how can I create a single panel and that can be used by other pages also? OR Is there any Master pages concept as in (asp.net) so I can make common functionality for header and footer for every page? Hoping to get quick response. Thanks!
  • Does JQM have drag to previous page preview functionality?

    Sorry i know the title is a bit confusing but i don't even know what this feature is called. On iOS safari if you tap/hold the left side of the screen and begin to drag right, the previous page comes into view(how much is shown depends on how far you have dragged the current page), but does not fully transition until you either finish the swipe, or drag pass a threshold and release. If you do not pass the threshold and release the hold, the current page will snap back into full view, pushing the
  • Icons doesn't appear in accordion method

    Hi, I've downloaded whole jQuery-Ui package, to use accordion UI. This is the source code of my page: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>.:jQuery-ui:.</title> <script src="jquery-ui/external/jquery/jquery.js"></script> <script src="jquery-ui/jquery-ui.min.js"></script> <link rel="stylesheet" href="jquery-ui/jquery-ui.min.css"> <body> <div id="accordion">     <h3>Section 1</h3>     <div>sgoihaogiha giohag oaighaiog haouigh auioghag</div>     <h3>Section 2</h3>     <div>osguaoigjhaoigh
  • datatables inside tab with a theme

    Hi, I have a problem using a jquery datatable inside a tab, here is what I did  :  <link rel="stylesheet" href="css/jquery-ui-1.10.4.css">   <link rel="stylesheet" href="css/jquery-ui-Redmond.css">   <script src="js/jquery-1.10.2.js"></script>   <script src="js/jquery-ui-Redmond.js"></script>   <script src="js/jquery.cookie.js"></script>       <script>   $(function() {     $("#tabs").tabs({      activate: function (e, ui) {          $.cookie('selected-tab', ui.newTab.index(), { path: '/' });     
  • DataTable reinitialise

    Hi !!!  can some one help me with jQuery datatable, i'm trying to dynamically load new data to an existing datatable in the same web page,  but it seems the data don't change !!  i get this error :  DataTables warning: table id=table  - Cannot reinitialise DataTable. thank you !! 
  • navigation highlight script difficulty

     - I have been playing around with the below peice of code for a while now  $(document).on("scroll", onScroll);          //smoothscroll     $('.navbar-nav a[href^="#"]').on('click', function (e) {         e.preventDefault();         $(document).off("scroll");                  $('.navbar-nav li').each(function () {             $(this).removeClass('active');         })         $(this).addClass('active');                var target = this.hash,            menu = target;         $target = $(target);  
  • 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