• Unable choosing certain dates

    Hi, I'm currently using a 1.9.2 widget on my store. {{ 'http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css' | stylesheet_tag }} {{ '//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js' | script_tag }} <div style="width:300px; clear:both;">   <p>     <label for="date">Pick a delivery date at least 3 weeks ahead your arrival:</label>     <input id="date" type="text" name="attributes[date]" value="{{ cart.attributes.date }}"class="required"/>   </p> </div> <script> jQuery(function()
  • Cycle2: prevent manual transition until images loaded

    Hi, from what i can see on Cycle2, I'm not sure it is possible to stop the "next" slide appearing until it has loaded. I know it does this in "auto" mode, but on the "Manual" example, a blank image slides across and then loads. What I want to do is show the preloader on top of the current slide, load the images from the next slide, and *then* transition across on completion of image loading anybody have a solution please I'm assuming you might be able to hook into "cycle-before" and somehow stop
  • Is there any way using jquery to detect multiple keyboards/keypads/mice on single/one computer?

    Hi all, anyone can help me? i have plan to create a web base app, like a sport judging app. it is the live scoring system that need more than one keypad for judge to input scores. how can i detect the correct keypad's input to the correct judge's ID on database.  in easy word: judge number 1 pressed his keypad, and system should input given score to the database on judge number 1's field. i hope jquery can handle this. if anyone know and can help me to figure it out, i appreciate it very much. Thank
  • $.Post jquery.1.3.2 vs jquery 1.6.2 ActionrResult receive params with null - Please help me.

    Hi all, I have a web project with c# .net vs2008, mvc 2.0, framework 3.5, nhibernate and jquery librarys. In the solution, normally i use a jquery version 1.3.2 to do a post, and controller receive params correctly. Now, i have a new form that i need to use a new version of jquery (1.6.2) but now when i do the post action, the controller receive the parameters with null value. I debugged the javascript, and from jquery function, the object have all values correctly, but after call to the controller,
  • jQuery mobile panel doesn't close fully only on Android browser

    <!DOCTYPE html> <html> <head>     <meta name="viewport" content="width=device-width, initial-scale=1">     <link href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.css" rel="stylesheet"/>     <script src="https://code.jquery.com/jquery-2.1.4.js"></script>     <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.js"></script> </head> <body>     <div data-role="page">         <div data-role="header" data-position="fixed" >             <h1>Test Page</h1>             <div data-type="horizontal"
  • When I open the app I get an object error

    Hi Guys, Can anybody shed some light on why I get an object error on certain devices when I open the app? It also does not happen every single time you open the app but randomly and also not all devices experience this when opening the app. Any thoughts?
  • Jquery

    Hello All, http://www.jqueryscript.net/demo/Drag-Drop-File-Upload-Dialog-with-jQuery-Bootstrap/ Can we get the above link functionality on page load instead of button click popup? Thanks Please help how to
  • Disable JQM styling? Text-shadow problems...

    JQM is modifying a lot of elements: background, link shadows etc. I've added: <script>             $(document).on('mobileinit', function () {                 $.mobile.ignoreContentEnabled = true;             });         </script> And data-enhance="false" to my wrapper. But it still drops shadows under my menu items... How do I fully disable JQM besides for the elements I need it for?
  • JQM, scrolling to the top of content element from a page transition?

    Using a single HTML file with multiple JQM pages is there a way on transition that I can scroll/revert back to the top of the content element when that page is transitioned too instead of the position it had left prior to the transition taking place? Thanks. PS, Apology if this is in the wrong forum (could see JQM in the options).
  • [ASK] How validate textarea if any code in values?

    How validate textarea if any codes like php, jquery, html ..etc  I usually use this , for validate if textarea empty? var txtcontent  = jQuery.trim($("form textarea[name='txtcontent']").val()); // email field if(txtcontent == "") { $("span.txtcontent_val").html("fields empty."); val_holder = 1; }  so why if any code in textarea and i want replace with <blockquote>..code...</blockquote> Thanks
  • what exactly does csstransforms3d , csstransforms and csstransitions consists of ?

    hey guys i was just going through the source of a plugin that uses alot of CSS-3 transforms and internally it uses modernizer to detect features , like so :  this.support3d = Modernizr.csstransforms3d; this.support2d = Modernizr.csstransforms; this.supportTrans = Modernizr.csstransitions; if you know through the modernizer documentation  , here. now what i would like to ask is what CSS properties exclusively come under :  csstransforms3d ?  what CSS properties exclusively come under :  csstransforms
  • How to retrieve Parameters passed through Jquery Mobile ChnagePage

    On click of a Button , i am redirecting to a page known as qrcode.html as shown below      $(document).on('click', '.qrcode', function() {          $.mobile.changePage("qrcode.html?UUID="+uuid+'&cust_id='+cust_id);      });  This is redirecting to the qrcode.html page , where i am trying to fetch the parameters as shown  Inside qrcode.html page     $( document ).on( "pageinit", "#homedeliverypage", function( event )     {     var UUID = getParameterByName('UUID');              var   cust_id = getParameterByName('cust_id');
  • sliderstop event.

    I was trying to get the change event on a slider to work and it would not file.  I googled sliders and found sliderstop on stackoverflow and it works fine.  I am using 1.4.5 and in the docs for that version, sliderstop does not exist.  I did find sliderstop in 1.2 docs.  Has that event been discontinued? If so, is there another event that I should be using? Thanks.
  • Ajax with css content as data

    When I post a simple data with ajax to the server it works fine. Now I need to post some css content and I want the Php code in the server to create and write this code into the created file. So actually I need help on both sides: How to post and how to treat it in the Php. Can someone direct me how to do it? Regards I. lesher
  • reducing all js file request to one js file .

    hey guys i was just checking my page speed over at google pagespeed here.  and came to know that for each js file ofcourse there is an additonal request send , now apart from concatinating all the js files into one to reduce the number of request , is there any other way , plugin etc that can be used to reduce the number of request of all my js files to one request ?  is there a way to do that ?  i know this question is more appropriate for a webmaster forum , but i taught it would have a js solution
  • Timing Issue ?

    At least I think it is a timing issue but I could be wrong. I have a web page that loads an Ordnance Survey (UK) map into a window and then needs to add a series of overlays containing my own data. The overlays do not always load with one or all 'missing' when the page is loaded. The situation is worsened when the page is refreshed. And which overlay file(s) is missed seems to vary randomly. <body  onLoad="initialiseMap()"> triggers the sequence and the following code forms a part of that sequence:
  • Beginner trying to get first command to work

    trying to get this simple .html command to change the text in the button from "it's a button" to "my button" like this guy does in this tutorial https://youtu.be/G-POtu9J-m4?t=24s except it's not working for me. I have jquery-1.11.3 in the same folder that my index.html is in. I don't know what could be wrong. <!doctype html> <!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> <!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> <!--[if
  • Validating file input array by using jquery validator

    How to validate file input array  by using following code <td><input id="idprof" name="idprof[]" class="idprof" type="file"></td> var v= $('#docs_upload').validate({         errorPlacement: $.noop,             rules: {                   },                invalidHandler: function(form, validator) {             var errors = validator.numberOfInvalids();             if (errors) {                                    validator.errorList[0].element.focus();                 $("span").html(errorList[0].message);
  • problem on adding a new function

    Hello, I am using OpenCart. I added this code to make image of product fly to cart when user click on add to cart button:     $('.buttonm').on('click', function () {                         var cart = $('#cart');         var imgtodrag = $(this).parent('.item').find("img").eq(0);         if (imgtodrag) {             var imgclone = imgtodrag.clone()                 .offset({                 top: imgtodrag.offset().top,                 left: imgtodrag.offset().left             })                 .css({
  • Variables not updating?

    From what I have read, my variables should be dumping their data and getting new data when I call the function again. I cannot figure out why my code isn't doing this though. When the page first loads everything seems to be working. The function runs, and it grabs the price/qty. When I click .switcher-label, or any of the other elements listed below it doesn't change the variables though. They just stay the exact same as they were when the page first loaded. I have no idea what is going on here,
  • How can you embed jquery variable inside a href

    Hi, Im trying to create a href tag with the prod-id and qty that the user entered.  $(document).ready(function ()     {           $('#qty1').blur(function()         {              var qqq = $('#qty1').val();             });     });             Input field <input type="text" name="qty1" id="qty1" autocomplete="off">        Id is part of a class... and contains the product code $product1->id            The a href thats not working.. it must contain the Id and qty <a href=\"index123.php?qty1=" . javascript:(function(){$('#qty1').val();}."&prodid="
  • How can i give space between navbar fixed with div

    Hello Guys i'm creating website that has feature one page, i have been figure it and succesfully scroll and fixed the nav bar, but now i face problem that when i click the href page scroll go away not as wish, i mean in this issue my page go the top it make not good looking for user, My wish now how can i give some space or height between my navbar and div, Thanks  http://sharethingz.com/js-jquery/jquery-smooth-scrolling-to-an-element-on-page/ http://stackoverflow.com/questions/14667829/how-to-create-a-sticky-navigation-bar-that-becomes-fixed-to-the-top-after-scroll
  • How to get the telephone code of a country detected geonames ?

    Hello, I use the function of Geonames to locate countries where we connect. And my problem is that I have to fill in a phone number field at the beginning with a telephone code, this telephone code depends of the country. In my solution, the code works if I select a country, but when the page is initially charged (detected by Geonames country), the country is displayed but I do not get the phone code. What is the solution? Example : country = FRANCE telephone code = +33 In my code : country = FRANCE
  • .filter() vs. .find() on detached elements

    I have detached a set of elements and am trying to unhide them. I could swear the selector/context version has been working but suddenly stopped. Now only the .filter() version works. var $currentSchedule = _$classSchedules.children().detach(); //Unhide any elements that were hidden by filters $(".filter-hidden", $currentSchedule).show().removeClass("filter-hidden");  //Does not work $currentSchedule.filter(".filter-hidden").show().removeClass("filter-hidden"); //Works I've read someone explaining
  • jquery.mobile css overriding my own css

    I generated my own css via the Theme Roller app at themeroller.jquerymobile.com, but jquery.mobile-1.3.0-beta.1.min.css overrides all the background colors. What am I doing wrong?
  • A few easy questions

    Hello, everyone, The question is rather simple. How do I ( with example, please ) ; 1. Create a simple update/delete user interface 2. Use at least one jQuery UI, such as sortable, draggable, dialog,... ) 3. Add a jQuery animation Thank you in advance! :D $(document).ready(function(){  var API=" http://193.246.33.24/data/ "  var users = $("#users");  $.get(API, {user:13}, function(data){  $.each(data, function(i, usr){  addUser(usr);  });  });  function addUser(usr){  users.append("<tr data-id="
  • Checbox help

    Hello, I have this code here. http://jsfiddle.net/max33/8wr7rjLj/  I have 3 issues which I can't solve. 1) When a checkbox is unchecked, the all highlights should be clear. 2) I  can't select and highlight more than one parameter. 3) I'd like to have select all and unselect all too. Can someone help me or guide me. I am a newbie on jquery. thanks.
  • How to create rollover news section for my website?

    Hi guys, I'm trying to find a rollover news for my website http://www.luxotime.com . If you look at the bottom of my homepage there is a news or some articles which updates. I would like to show only 1 row of article but want it automatically scroll or rolling to next article automatically each 30 seconds for e.g. Is it possible to do that with JQuery? A sample code will be appreciated. Thanks in advance.
  • paste text from the clipborad into a file

    I need to paste text from the clipborad into a file. Is that possible and how? Regards I. Lesher
  • Return a number instead of an object?

    Hello.  I am trying to build a price calculator that changes based on when a person chooses a product or increases their quantity. Everything seems to be working, but I'm getting [object Object] instead of numbers. I'm not understanding how to make "return fry;", or "return leela;" give me a number instead of an object. Thanks, jQuery(document).ready(function(){         var qtyCode = jQuery('.qtyswitcher-qty').html();         var price = jQuery('.switcher-pb_product_size .switcher-label').click(function(){
  • jQuery Ui Tooltip Not Working on Raphaël.js

    Can you please take a look at This Demo and let me know why the tooltip is not showing on the path on mouse over using jquery Ui and Raphael.js? <div id="canvasDiv"></div> $(function () { var paper = Raphael(0, 0, 500, 500); var d = "M90,90l-80,-20L50,5L90,90"; var tri = paper.path(d).attr({ "fill": "yellow", "stroke-width": 5, "stroke-linejoin": "round", "title": "Show Me The Tooltip!" }); $(tri).tooltip(); });
  • How to prevent autofocus on first input when clicking a link on popup in jQuery Mobile

    I have a textarea and a link in a jQuery Mobile popup. When I click link, textarea gets focused automatically and keypad is showing. (on ios) I wanted to redirect to another page by clicking the link, but before it redirects, keypad is showing which is not necessary as I don't want to change any text. I checked jQuery Mobile 1.4.5 demo page but it has same issue: http://demos.jquerymobile.com/1.4.5/popup/ But it seems 1.3.1 has no such issue. Please help me!!!
  • TV wave warp effect

    Is this effect possible with jQuery ?
  • Button text change via click event and sending geo data

    Hello guys I am new to jQuery and developing an app for a tablet with geolocations. I have a question about a button text I want to change. I have a button named vlock with the text "Lock". If I click the button the text should change to "Unlock" and the current position should be send to a msg box. So I can change the button from "Lock" to "Unlock" once! But this should be change whenever the button is clicked. also I could not get it working to send the geo data in a msg box. maybe someone here
  • JQuery Dialog Position Problem

    I am using Google Maps in page. I want to set the positon right bottom of google maps. But scroll bar occurs. How can I solve this problem         position: {              my: "right bottom",              at: "right bottom",              of: "#google_map" },
  • Superfish / hoverIntent Wacky Behavior - What Broke?

    Hi all, I took over the maintenance of an existing Wordpress site that I did not create. It's original code is older, probably around 2010 or so. When I moved it to current Wordpress, a jQuery / Superfish slider on the homepage broke. It works but on page load, it slides constantly and not necessarily correctly. It eventually completes its cycles (it seems) and then behaves properly with mouse clicks.  My JS is really rusty and I'm not real familiar with jQuery much less Superfish, so I'm hoping
  • Copying html from zeroclipboard

    Hi; I use zeroclipboard to copy text to clipboard. I want to copy and paste"SOMETHING" in any email clients email signature box with the css we apply to it. Can we copy to clipboard rendered html?can you make it so that the footer is in a copy box. i.e when you select you just get the content of the box? This is the button <button id="copy-button" data-clipboard-text='<?php echo $copy;?>' >Copy to Clipboard</button> But I get this: First name: wda Last name: asd Company: sd Position: asd Promotional
  • This is the ugliest page I have ever seen! Does anyone care about this forum?

    Hi; First of all, I love Jake. I come back here because of him. Incredible dude. But take a look at this login page of the forum ! Are you serious? A drunk 4 year old can do a better design. The buttons are ugly and out of order, in wrong places. I think you should spend few hours and fix the design. The forum is too good to have such an ugly entrance! Cheers
  • value of text boxed within table tr should not contain same value

    if i have <table id=tbl> <tr> <td> <input type=text  name=nm1> </td> </tr> <tr> <td> <input type=text  name=nm2> </td> </tr> <tr> <td> <input type=text  name=nm3> </td> </tr> </table>
  • need a new st of eyes on this

    Hi All, i like another set of eyes on this I can not get this to work Thanks Link to page http://n9mfk.info/newidea/myindex.html Link to code http://n9mfk.info/newidea/js/mydashboard.js Uncaught SyntaxError: Unexpected end of input line 1 mydashboaad,js $(document).ready(function() {        });     infiniteLoop(); function infiniteLoop() {     var updateTimer;     $.ajax({         url: './realtime2.php',         dataType: 'json',         success: function(data) {             function updateTimeout()
  • 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