• new searching plugin

    i have created this new small plugin for searching and filtering of html elements inside an HTML page: https://github.com/stefanocudini/jquery-finderbox
  • Map HiLight [getting Co-ordinates]

    I've tinkered with this plugin and I've hit a snag. Instead of the demo_usa map it gives, I've wanted to do the entire state of idaho and have the counties show up when you hover over them. My issue is simple enough to understand, I don't understand how you get the coordinates if you manually type them in or if there is a cover transparent image over the main image that does everything for you. I've looked everywhere for a problem-fixer, but no one else seems to have this issue.  Help :( http://silveroasis.us/demo/demo_usa
  • PB: 3D tags cloud who turn all the time - objective : doesn't move if anyone touch it

    Hello,   I'm new! It's the fisrt week that I work with Jquery.   With this code I try to do a litte 3D tags cloud. I have found this code on a web site and modified it a little for my need. But there is something that I don't arrive to change in this code. I would like that tags cloud doesn't move if anyone touch it.   Thank you for your help! :)     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-type"
  • Re: add, insertBefore: Thought these were functionally equivilent, but no.

    $(anchor).text(txt); $(links).append($("<span>"+ pretxt + "</span>")).append(anchor); works.  this is the workaround code I ended up using. The following only shows pretxt, seemingly losing the original anchor node: t = anchor; anchor = $("<span>"+ pretxt + "</span>").insertBefore(t); $(links).append(anchor);(Using 'add' instead of 'insertBefore' in the above code procures the same result). What have I not understood? Also kinda irks me that the official jquery docs never tell me anything about the
  • jquery grid

    hey guys... i am trying to make a grid using the jquery plugins..... i am trying to get the input from a xml file....  can somebody help me... plz help me out on this one as i am new to this jquery.......
  • "change" event on a select box causes problems when using the keyboard

    Hi, I recently upgraded from jquery 1.4.2 to 1.7.2. It seems like the way the change event works for select elements in IE has changed. In jquery 1.4.2, if you are using a keyboard to move up and down in the select button options, the event is only fired when you hit the enter key while focused on an option. However in jquery 1.7.2 it seems like the event is fired as soon as you move to a different option, which makes the dropdown unusable if you are using a keyboard. I tried this in IE 7 and 9. In
  • Filter question

    I have the following HTML:  <!-- Beginning of slides -->   <div id="slider-wrapper">         <div class="slider">           <img src="images/5587_120512_b.jpg" width="399" height="600" alt="Smokey Bear"/>         </div>         <div class="slider">         <img src="images/slide_8105.jpg" width="526" height="350" alt="Brids of Prey"/>         </div>         <div class="slider">           <img src="images/slide_8115.jpg" width="526" height="350" alt="Otter"/>         </div>         <!-- <p class="caption"
  • $.ajax test in qunit

    I have a simple test for $.ajax request, I get an error when I run this in my browser it says, "$. is undefined". can anyone help me. This is my function   function ajax(successCallback) { $.ajax({ url: 'server.php', success: successCallback }); } and my tests is test('asynchronous test', function () { // Pause the test stop(); ajax(function () { ok(true) }) setTimeout(function () { start(); }, 2000); }) thanks
  • jquery tools validator problems

    hello to anybody... i need your help with the jquery tools validator.. I have this test.js after loading the jquery.tools.min.js (I downloaded  it with all the componentes).. it has this: test.js $.tools.validator.fn("input[name=group1]", {en: 'Choose one'}, function(el, value) { var arr = $('input[name=group1]'); var sel = false; for(var i=0; arr.length > i; i++) { if($(arr[i]).is(":checked")) sel = true; }     return (sel == true) ? true : false; }); $.tools.validator.fn("[type=radio]",  {en: 'Choose
  • How to control windows media player by jquery or javascript?

    How can I control embed windows media player by using jquery or javascript? I need all commands?   Thank you.
  • DatePicker problem

    Hello all, I am having trouble getting datepicker to work. I have 2 date fields (arrival and departure) the date picker works for the first, but not the second field. I think the issue is with the input id and name, they cannot have the same name and id as they are different date values I need to call as POST variables in my php. But even when they do have the same name and Id only the first field provides the datepicker calendar. Any help is greatly appreciated. John
  • oop js

    i have doubts in oop js can u tell where can i ask....
  • getJSON problem

    I have some problem with getsJSON : var jqxhr = $.getJSON("http://www.egotime.com/webservice/json/?app_id=RRxc8pZBpUb5Z1W0t9DVnQZZXnuAhnPw&query=events&pageindex=0&page_itemcount=5&show_itemcount=1", function() {   alert("success");})           .success(function() { alert("second success"); }) .error(function() { alert("error"); }) .complete(function() { alert("complete"); }); $.ajax({     dataType: "json",     success: function(data) {         // do something         alert("Success");     },     url:
  • Problem with checkbox and form using jQuery

    Hi all   I'm currently developing a webapp that use google map api with some elements overlays on the map using checkbox to activate. I've tried to use jQuery to make iphone style checkbox however it won't work.   When a check box is checked, it has the event onClick="SwitchLayer()".   SwitchLayer() will search for all element in " document.forms[0].elements[i]" then print overlay elements on google map.   However, when I add a tag that activate iphone style checkbox to one of my checkbox element,
  • Unable to call click Event When Not A Single Page

    I have a question, I was hoping someone can answer for me and help me understand. I've been working with JQuery and JQuery mobile for about a week now and through some testing I noticed that when I build my JQuery click event it doesn't work unless my mobile pages are sharing the same html file. I've also noticed that if my index.html file has the JQuery references then I don't have to include them in my second html page; it seems to work just fine. However, when I test this behavior in a desktop
  • Datepicker looks bad in firefox

    My datepicker in the "Enter a date:" field looks bad in Firefox, but normal in IE, Opera, Chrome, and Safari.  http://heightsdental.com/RequestAppt.php  Does anyone know why?  Thanks.
  • vi

    how to retrieve and display a data from database using jquery and ajax in a jsp  without refreshing the whole page.......please help me out...in the database am having a table named "wall" with only one column "message".....now i want to display the comments in jsp using jquery method....
  • Help Me

    Hi All,        Please help me. Now i m using Jquery model dialog box. Its working good. but it's coming the page will be loading then the model dialog box will disappear. please help to solve this problem
  • Variable not being translated

    In the following code block the variable 'side' is not being translated in the line beginning 'margin-side...' Can anyone see what I'm doing wrong please? function centerElement(divid,side)     {         divid = "#"+divid;         jQuery(divid).css({             top:'50%',             side: (((jQuery(window).width() - 940)/2)/2) + 'px',             margin-top:'-' + ( jQuery(divid).height() / 2 )+'px',             margin-side:'-' + ( jQuery(divid).width() / 2 )+'px'             });     }     jQuery(document).ready(function($)
  • How to link to wordpress pages

    Hi, I'm trying to build a mobile website with Jquery Mobile. I'll explain what my plans are. For my customers, which allready hava a desktop website, I want to make mobile websites: Jquery Mobile websites with a connection to the desktop website. So when they change text on their desktop website, it automatically changes on the mobile website too. The first customer has a wordpress website. That's very simple, because Wordpress has a Jquery Mobile plugin. But I don't want to use that plugin, because
  • How do I position en element relative to the visible area of the page?

    Hello, I have a <div> that I am positioning absolutely, which displays some content when the user clicks a button. At the moment, I position this using the "top" CSS proeprty, to put it 30 pixels from the top of the page. This is fine if the user hasn't scrolled the page, but if they have, they either only see the bottom of the <div>, or they may not see any of it. How do I position it to be 30 pixels below the top of the visible portion of the page? I've searched for ages, but not found anything
  • Changing a webpage for Ipad

    I have a webpage that looks fine on a normal desktop, but it's also going to be used by Ipads. What is the best way to alter the page for the Ipad users? I was thinking that Jquery would be good for this to remove certain ID's and classes and replace them with Ipad specific, am I thinking along the correct lines and what is the best way for Jquery to know the page is been used on an ipad? I know I can use @media tag to change Css file is this suitable for jQuery as well? thanks for your thoughts
  • JQuery Cycle $(this) into pager property

    There are 3 similar cycle-slideshow with images-pager, but I don`t know write pager property, I need to pager will be into parent $(.slider).cycle({     pager: $(this).find("div.slider-nav") }); I am editing plugin. in buildOptions(...){       buildPager($cont, els,opts); ...///// function buildPager($cont, els, opts) {     var $p = $(opts.pager);         var parent = $cont.parents(opts.parent);     if(opts.pagerSet != undefined && opts.pagerSet == "inner"){         $p = $(parent).find(opts.pager);
  • Page Slide

    I have a mobile Site www.loghos.org/ge/iphone I have no idea how I can make a slide gesture with one finger to move a site back. Thanks!!!
  • A little help please. I just need to find a jquery like this one

    Hi everyone. Anyone know a jquery like the one on the right here:  http://stocklogos.com/logo/tv-gift. That displays the logo on that elements (car, hat, t-shirt etc) A little help would be great. Thank you.
  • Jquery dropdown with images inside

    Hi, Please help, I am in need of a dropdown box inside my web apps, which should contain only images. Similar to GMAIL CHAT smiley drop up menu... How I can do this !!! ? Thanks in advance. Suren
  • Thumbnail Swipe Gallery

    I'm trying to create a row of thumbnails in their own div that can be swiped and on a touch event will display beneath the row.  I'm new to jquery mobile and I was just looking for someone to point me in the right direction. Thanks in advance.
  • Jquery Mobile Scrolling Problem on iOS 5

    Hello Team, I am working on a project in which the technology stack is Jquery-Mobile and Phone Gap. In my application I am using Jquery mobile filter list view which having 22 list item. When ever I scroll down to 22nd item and click, the screens scrolls up and then navigate to different screen. I searched a lot, but not found any luck. I am using JQM transition also. Please response me ASAP Thanks & Regards  Vivek Srivastav  Sr. Software Engineer iGATE Computer Systems Ltd.
  • Dual slider (range slider) on jQuery-mobile?

    I am in desperate need of a dual slider on a mobile device that responds to touch events. jQuery-mobile has the following single slider: http://jquerymobile.com/demos/1.0a2/#docs/forms/forms-slider.html However, I need a "range slider", with behaviour like this: http://jqueryui.com/demos/slider/#range My Javascript-fu is extremely limited but would it be possible to extend the jQuery-mobile single slider to a dual slider? Or is that something I would just have to wait and see if they make one available?
  • tap event fired after taphold.

    I am developing an app for iOS using Phonegap bundled with jQuery Mobile 1.1.1. I have a div on my page that is listening for both tap and taphold events. The problem I am facing is that the tap event is fired after the taphold event once I lift my finger. How do I prevent this? A solution is provided here but is this the only way to do this? Kinda nullifies the whole point of having two different events for tap & taphold if you need to use a boolean flag to differentiate the two. Following is my
  • Need to Iterate JSON object

    I  have a JSON object: users:[  user{ {     emailAddress: "none" firstName: "na" globalId: "testus1" lastName: "TestUS1" selectedDuties: "User" }, {  emailAddress: "none" firstName: "na" globalId: "testus2" lastName: "TestUS2" selectedDuties: "User"} } ] Im trying to do a check based on my global id. But im not able to...  $.each(data.user,function(index,val){ for (var x=0; x < data.user.length;x++){  if ( data.user[x] == "globalId") {  var actualData ={}; actualData.data=val; jsObject.json_data.data.push(actualData);
  • Repeat music x times

    Is there a way we can play a particular music using JQuery n times. The 'n' being chosen by the user in another dropdown.
  • Cycle Slideshow with different size images not adjusting to images

    I believe I am following the Cycle demo, but the display is not adjusting to the different size images.  Here is a  demo. And this is setup: Slideshow with different size images CSS: /***** slider *****/ .slider-wrapper {   margin-top: 80px; padding:0px; overflow:hidden; } .slider {   border:10px solid #fff;    border-radius:6px;   margin-left: auto;   margin-right: auto; } .caption {   font-size: 1.0em;   color: #fff;   text-align: center; font-weight:bold;   color: #f6c02c;   } JS:     <script
  • jQuery Validation not being called

    Hello all, First of all, jQuery is amazing, I love it, congratulations, you've done some great work. I've only just started really using it, but it's easy to get the grips of and understand. I've just gone and encountered my first problem, resulting in sleepless nights of head scratching in front of my screen, looking for what I could change, but my knowledge doesn't cover all of jQuery just yet :) I'm building a front end for a PHP Authentication system I'm building, I'm using jQuery, I'm using
  • Proper syntax to fadeOut form

    I need to fadeOut a contact form once it is submitted and am having trouble figuring out the proper syntax in order to include it in the code below. I just replaced my validation with jQuery's validation function, and the code I was previously using to do this is: $("#contact ").fadeOut("fast", function ()); The current function to validate and submit the form using jQuery.  $().ready(function () {         // validate the comment form when it is submitted         $("#contact").validate({            
  • Datatables - Clear BStateSave

    Hi, Can anyone help me with clearing BStateSave with the Datatables plugin? There's apparently help from bennybenben here but I cannot see how this should be written into my page. If anyone could put this into a simple one page, one table example that would be amazing!! Thanks Dvent247
  • consuming webservice java

    hey everybody ! I have a webservice http://www.safetrace.com.br/safefrigorifico/services/ServicoConsulta.jws?wsdl  and this code: $.ajax({ type: "POST", url: "http://www.safetrace.com.br/safefrigorifico/services/ServicoConsulta.jws/consultarDadosRequest", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) {   alert(data.d); }, error: function(){   alert("erro"); } }); but I just get "erro" .. this is the first time that I'm working with webservice
  • Check if id is set in URL, if not, add it?

    Hello all, I've built a single page site that uses div id tags in the URL and Jquery to handle navigation (index.php#home, index.php#about, etc.) Whenever the user visits index.php and clicks a link, it takes 2 clicks to make the navigation kick in; I believe this is because it's missing an ID tag. Once it's set to index.php#home, index.php#about, etc. it works fine. Is there anyway to check if an id is assigned in the url and if not, add #home to it?
  • Making the code work offline

    Im an absolute newbie to Jquery and am trying to squirm my way through..I tried some tutorials to make a dropdown menu. but the code doesnt seem to work...I have included all the js code in a script tag.Is there something Iam missing though???what are the steps reqd to make the code work offline???Does one need to upload the file to the server for the code to work.is there some code or tag to specify a link to jquery file???Im sorry if im not making sense at this point as this all seems alien to
  • How do I know which jQuery files are necessary for the timepicker plugin?

    The time picker looks right and is working properly on my local server, which is where all of the downloaded files are that I used to create it, but there are so many files in different folders, that I don't know which ones are being used and which are not.  After uploading the site to the remote server, the time picker doesn't look right (at the end of the Enter date" field).  How do I know which files to upload without cluttering up the server?  Thanks.  http://heightsdental.com/RequestAppt.php
  • 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