• how do I update an internal plugin of a plugin?

    I'm using a plugin called fancymoves which is an image slider app that uses the fancybox app to function...  I ran into a problem with getting the back and forth buttons to work and someone suggested I update the fancybox to the newest version.....  I haven't been doing javascript that long and JUST figured out how to install the app in my coding and customize it to work the way I need it to.... how do I take the old version of fancybox out of the fancymoves app and put the newer version in?....
  • How do i select this element?

    Hi all, Below is part of my HTML. What i want to do is when i click on a menu item e.g Home, Portfolio etc. I would like for the the contents of the "#slideshow" div to either hide or animate the opacity to 0, I have left it at fadeout for the minute to keep it simple.   <div class="container_12 .grid_10" id="header"><img src="images/logo.png" name="logo" width="460" id="logo" />            <ul class="dropdown_menu">      <li><a>Home</a></li>         <li><a>Portfolio</a></li>         <li><a>About
  • Setting Value for <Select> object

    Hello: I'm trying to populate a <Select> object with the value from a user's record. Following is my current attempt: var var_ClientType = <? echo json_encode($ClientType)?>; $(document).ready(function() {     //===================== POPULATE Drop down List =================     $.getJSON('select_orgtype.php', function(data) {         var select = $('#orgType');         console.log("Var ClientType: " + var_ClientType);         $("#orgType option:text=" + var_ClientType +"").attr("selected", "selected");
  • getting current element with id

    Hi There Im using this kind of jsp script together with jquery. I would like to retrieve the value of a current element with id. Can any one help me to solve this. Below is my code: Functionality of my code: 1. Onload displays two phone numbers.  - I got it 2. Then I want to update DB for the selected phone. - I got it 3. But for this update an authorization step is required which is the inline content. Once authorized the id of the selected phone will be carried to action class (which gives me wrong,
  • Error using appendTo

    I'm trying to use appendTo with some PHP so I can move a ul to the bottom. Here is my code: <?php  $currentPath = $this->getCurrentPath(); $currentCategory = Mage::registry('current_category'); ?> <script type="text/Javascript"> jQuery(document).ready(function(){ $(".childnav").appendTo(".catalognav"); }); </script> <ul class="catalognav">     <?php foreach ($this->getCategories() as $category): ?> <li>    <a<?php if ($currentCategory->getId() == $category->getId()): ?> class="selected" <?php endif
  • jquerytools & overlay (ajax)

    Hello, sorry for my poor english... i'm using jquerytools and overlay. I have a page call overlay width : <a href="javascript:void(0);" rel="#fiche" class="individu">... $("a[rel]").overlay({         mask: '#676158',         oneInstance: true   }); when people click on line with "class individu", i show identity of this person.  I read width ajax the identity of this person, and i show all on overlay part. All is ok there. in another part of this page, i use ajax to add new lines, same of before
  • Trying to wrap a function in ".find"

    I have a jQuery accordion on my site which is loaded into a div by AJAX after the main page has loaded. The jQuery library is loaded when the main page is loaded and unless I include the library again just above the code I've shown below, the accordion does not work. The code below is loaded with the AJAX content and is situated below the accordions' HTML. I believe that when the library is loaded and the document is ready, a "find" is initiated automatically, but I don't want the extra overhead
  • slideToggle on mouseout

    Hello, I have a div that collapse on mouseout. It works, but not as intended. The basic structure is: <h3 class="myHeader">header</h3> <div class="myCollapse">       <form><input><input></form> </div> <script> ... $(".myCollapse ").bind('mouseout', function(){       $(".myCollapse ").slideToggle(1000); }); ... </script> When the mouse hover over the form-elements, then jQuery triggers the mouseout-event. I want jQuery to only trigger the mouseout-event when the mouse is leaving the div not when bumping
  • Overwrite expand/collapse events of JQM Collapsible

    Hello,   I am able to bind to expand/collapse events of JQM Collapsible on this page:   http://codeturtle.com/files/collapsible1.html   But I want to stop the div with content "I'm the collapsible content...." from being expanded/collapsed. The reason is, I want to show different contents for different events,   Thanks
  • listmenu plugin

    How can I break the alphabet in the middle and show it on two lines -- ie: A - L on the first line and M-Z on the next line?
  • Essential difference between on and bind?

    What is really the difference between .on() and .bind()? (excepting the version difference) I've been using 1.64 version for a long time, and now I'm actually getting scolded for using the old .bind() method, but I can barely understand the reasons for upgrading though. I also wonder what methods do you guys use for the community plugins, and should we generally consider the back compatibility? The latest versions add quite a bit in weight, so maybe not all of the users want to upgrade...
  • why mouseover and mouseout event does not work in qunit?

    s("a.flyoutlink:eq(0)").mouseover(function(){                      //this is not working???? s("span.contexthelpcontent").exists function(){ ok(true,"floater exists"); }) })
  • using the same plugin in 2 diferent html pages, one linked to another.

    I'm using a jquery plugin that makes the content of a div dragable. I use it in my first page and it's ok, but when I follow the link to the other page(it opens in a div on the main page) and try to use the same plugin in that page( I've programmed this page with exactly the same code) it doesn't work. If I open that 2nd page separately it work's fine. I don't know if I make myself clear. Can anybody help me?
  • Problem with button and picture link

    Which script code I need if I have a button of the displayed image eg rss feed from a local store to on a cell phone? I have an app developed the pictures from an rss feed displays this I would then store it locally on the phone for like button for that I have unfortunately not only the functional ?   please help me
  • ifames alternative

    Hi, so i need to replace iframes for jQuery DIVS. Reading in the internet, its really simple. In proactice, it seems much harder. Notes: all external pages are within the folder structure to the index.html that is looking at them all images are in a folder called images Scenario: Index has a DIV called 'Sizzle'. in this div, i want to change the content to 3 possible pages (pg1, pg2, pg3) any one of these pages need to be displayed in the div. all pages have images on them. Questions: can images
  • Mod_rewrite pick up variables

    I want to crate nicer url´s on my Jquery Mobile page. Now I have Ex. store.html?supplier=apple&product=laptops My code to capture the variables. var supplier = getUrlVars()["supplier"]; var product = getUrlVars()["product"]; function getUrlVars() {     var vars = [], hash;     var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');     for(var i = 0; i < hashes.length; i++)     {         hash = hashes[i].split('=');         vars.push(hash[0]);         vars[hash[0]]
  • Need help to get ID on selection of autocomplete

    Please click on following link then click Find a pop up window appears http://webvikas.net.in/purohit/admin/insertrecord.php as shown below Search close Heading Please SelectbusinessOrthopaedicWebsiteWonder   Name anand m nadkarni anand1 m nadkarni1 unmesh middle dr mahesh p. Mobile Number the input fields has auto complete feature which is working fine. My problem  How to get record id of name selected 
  • JQuery mobile template

    Hi, im new here and hoping for a bit of direction / help. At work, i need to make a template for ipad for an internal website. The things i need to make work are- header stays the same at all times the middle section is interactive. 4 buttons on the top would change the content in the div. each page that shows inside the div can also change. i have included a few shots to try and explain. Can anybody help me on this please and / or direct me to a good place for templates etc? i cant seem to get dreamweaver
  • Jquery Mobile: Custom Header w/ background image + navbar

    Struggling badly with this all day and I get the feeling somebody with more knowledge on subject could save me a lot of grief... I have created a website using Jquery Mobile and I want to use a custom image/logo instead of the standard header on all of my pages. What makes it slightly more complicated is that I am also using a navbar just under the custom header/image for navigation. See the below image for what I am talking about: http://postimage.org/image/ywh1wajjr/ So here is where I am running
  • jQuery Mobile advice / code examples

    Hi, would it be possible for someone to offer a few code examples and advice please? code to go into a button that slides a page into a specific area can a div content change from a button clicked within that div? for example: a button on the main page changes the content of a div. In that content is a set of buttons and by clicking one of them, the content on the main div will change or would i div down in tiers? (does that make sense?) what code do i put into a page that is being displayed in a
  • Sliding panels for multicolumn web/mobile app

    I'd like to reproduce with JQuery the behaviour of these sliding panels: http://enyojs.com/sampler/lib/layout/panels/samples/PanelsSlidingSample.html Do you know some existing plugin that implements this behaviour? Do you any clue on how to implement it? Thank you by advance!
  • Double transition

    I am using $.mobile.changePage to transition from one page to another and it works with a glitch.  When it transitions first it transitions to the same page I am on and then it transitions to the correct page and I can't figure out why. Can someone help?
  • problems with variable in src path

    Hello, I am aware that this maybe is not a jquery specific problem, yet, my code integrates jquey so I might as well ask it here. I have the following code: <script src="edge_includes/jquery-1.7.1.min.js"></script> <script src="edge_includes/jquery.easing.1.3.js"></script> <script type="text/javascript" language="JavaScript"> $(document).ready(function(){  $("#sub")   .click(function(){ $("#the_pic").attr('src','images/Memoir_reg/Memoir_1.gif');     $("#the_pic_2").attr('src','images/Memoir_reg/Memoir_2.gif');
  • jQuery Dialog Scrollbar

    Hi. Is there a way to check if a scroll bar is being used or not in a dialog box? Currently, I am working on a manual way to auto-resize the dialog box and I wanted to do it by checking if there was a vertical scroll bar or not. If there was, then I would adjust the width and the height of the dialog box and proceed to check for a scroll bar again. Thanks
  • Reconnect (ajax)

    The question is about ajax. How to reconnect if Internet connection is lost? Is this code is corrent? (I use timeout becouse there is no way to find out Internet connection problem.) $.ajaxSetup({       timeout : 30000 }); $.ajax().fail(function(error) {       if(error === "timeout") {             $.ajax();       } }); 
  • Doesn't add a click listener to a newly added element?

    My jQuery: $(document).ready(function(){     var search = true;     var results = $('#results');     var input = $('input[name="username"]');     var viewing = 0;          $('button[id|="user"]').click(function(){         document.write('hey');     });          input.keypress(function(){         if(search){             search_f();         }     });          $('#back').click(function(){         if(!search){             window.location.hash=viewing;         }     });          function search_f(){  
  • Jquery newbie question help with appending a variable

    So I have the following function : function getletter(){      var letter=$.trim($(this).html());      window.location='searchresults.php?querystring='+letter+'&querydesc=Name Like &querytype=1';           } in which i want to take the letter variable out and use it in another function to append: $("#main h2 a").append('+letter+'); Its working if I just put in a  string but cant think of  way in order for this variable to be taken from the other function and be displayed here.
  • How can I add usemap in this?

    I created an image map on my background image. The problem is my image is not in the html, it's inside a function. Can someone please tell me how can I add 'usemap' to this? jQuery(document).ready   (     function($){     $('#jq_fuslideshow').fuslideshow({       image_background : "images/background.jpg",       image_topShadow : "",       image_bottomShadow : "",            background_fullScreen : true,       background_move : false,       background_moveDistance : 500,         });   }   ); I guessed
  • After browser refresh, popup on page navigates "back" when it is closed

    I have a particular page (a map page) that is extensively modified on pagebeforeshow. (probably irrelevant to this problem.) When I reload this page from the browser refresh button, the URL briefly appears with ui-state="dialog" in the URL. The that part is removed from the URL, and the page transitions to whatever page appeared prior to the map page. The page is linked-to with a parameter in the URL. (?location="me") That is: Page A index.html, for example user navigates to map page (map/index.html?location="me")
  • jQuery question - remove a class and hide an element

    Hello Everyone:  I am doing an exercise to practice jquery's removeClass method and hide an element.  The code doesn't function as expected 1)to remove the class from the html table element 2)it doesn't hide the paragraph text which read 'the legal statement of our website.' Please give me some suggestion on how to make the code work, so I can understand what have done wrong. Thanks! Code in external style sheet:  .zebra {  background-color: #ddd;  color: #0000ff; }                                                                                                                                                Code
  • Select even table elements?

    Hello everyone:  I am doing a exercise to select even table elements, then change the background color and font color of the elements. To me the code should highlight the content in event number of <td> tag (e.g. Name and Approx. Location) Could someone explain to me why this happened and what change shall I make, so  the code will highlight the content in the even number of the <td> tags <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  • Support for large Unicode characters?

    Hi, Does jQuery have support for Unicode characters which require 5 or more hex digits? It seems to be inserting some extra (and strange) characters when I want to display large Unicode characters.
  • how to read iframe inner body content

    i need to get all inner content with in the iframe. like head tag all content script style and body like all div with in the iframe  
  • My function won't fire on IOS

    jQuery 1.8.1 jQuery Mobile 1.1.1 Developing for Android and IOS Hi, 3 days with no solution for this. It's driving me nuts. Firstly, I have tried pageshow, pageinit, and .live .on .bind etc. to no avail. My problem is, my app has the following html code in my services.html page with an id of 'servicesPage': <a id="purchase_button" href="#" data-role="button" data-icon="plus">Make a test purchase</a> a JavaScript script in included in the head of the document which includes the following: // JavaScript
  • jquery mobile and adsense

    Hi very good, I would like to know why only adsense advertising comes only when I refresh the page. Is there any trick to get it right Thank you very much and greetings
  • select filled/empty text inputs

    Hi all, is there any way to reduce the set of matched elements to text inputs wich are empty and not empty ? jQuerySet = jQuery('#formID'); empty =  jQuerySet.has('[type=text]:empty'); notEmpty = jQuerySet.has('[type=text]:not(:empty)');
  • jquery problem

    hello sir , yesterday i had posted one question, but no reply, sir i am having trouble to achieve one functionality in my web page , functoinality-: i had mentioned one text in the header section of my page and mapped sliding window option to that text ,  sliding function works fine , but the problem is that  when the window slides when i roll mouse over the text but as i drag mouse to the text written in window slided,  the slided window returns back and i am unable to make use of text written in
  • what type of widget is used?

    i need to create a web page just like a jquery themeroller-ready. i am in need of that concept how its work and what type of widgets  are used to change the theme of all other widgets. so could you please help for me?
  • Need help to create Array sort function

    Hi, I have the following code snippet to do array sort, it is working but I would like to make it a function that can take an array and a sort field as parameters and return the sorted array. <script type="text/javascript">     var listitems = new Array();             listitems.push({id:1, firstName:'John', lastName : 'Doe'});     listitems.push({id:2, firstName:'Jane', lastName :'Doe'});     listitems.push({id:3, firstName:'Joe', lastName :'Smith'});     listitems.push({id:4, firstName:'Ann', lastName
  • Can someone tell me what component of my modal box is not compatible with IE8, & IE7?

    Here is my testing fieldhttp://k8r.us/test12/test.html So I've built this modal box for work but unfortunately it doesn't work in IE8, but I have no idea why because another modal box I made does work ( http://k8r.us/test4 ) I don't know the difference between the two that is causing one to work and the other not. Test12 attemtps to make a very general modal box where Test4's modal box is heavily ingrained with the content of the page --- Keysle
  • 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