• Business Owner needs Help: Maximum Images/Size Restrictions?

    Hello, I am not a programmer but the guy I hired to do my website said any more that 3 images on the JQuery slide would greatly slow down the functionality of my site, and therefore he is recommending I use flash. Is there any truth to this? Thanks mgfraz@gmail.com  
  • Problem with IF statement

    This is the first if/else statement i've written in javascript and I've been banging my head on this for a few hours and I can't seem to solve this. It's seems like it should be very straight forward. The functionality i'm trying to achieve is a captions overlay on images only if they have a description in the alt attribute of the image. function hideCaption() {         var hideCaption = find('img').attr('alt').length;           if(hideCaption.length==0;){           $('#slideshow-caption').css("display",
  • How to make the menu pop-UP

    I am using jquery ui menu, it works nice, pops down as supposed. Is there a way to tell it to pop up? Bonus question: is there anyone who managed to do this: by default pop down, but if there's not enough place (the bottom of the list would be invisible) then pop up?
  • Multiple Web SQL created?

    This might not be a problem at all but I just need to check. I am using a Web SQL db to store some info from a external xml  that I use in the web-app. Everytime someone goes to index.html it does a sessionStorage check to see if we have already loaded the stuff from the xml. If not it fetches the latest data and re-populates the db. So far no problem. However - on index.html I also have a second page with the id view which I link to (<li><a href="#view" onclick="viewResult();">View result</a></li>).
  • replace(). How do i grab the first 6 characters?

    hi, im still new to jquery and i have a question. i have a string but i only need to know the first 6 characters. Is there a way to do this? Im thinking of using replace(), is there a better method? var  foldername = 'FOLDERLongAndRandomName'; var regex = / NEED HELP HERE /; foldername = foldername.replace(regex,'');in the end var foldername should be 'FOLDER'   only. thanks in advance to anyone that can help me with this. Im pretty stuck, plus documentation on replace() expressions is really beyond
  • Slider on chrome have spinner controls

    Version 3a.   Sliders show the old spinner control using Chrome.  Seems to be okay using Firefox and  android 2.2.   See image.
  • Problem placing validate error message

    Having difficulty getting one specific fieldset to display the error message. Here is the structure of the problematic fieldset     <fieldset id"SomeID">            <ul class="someClass">               <li><label><input type="checkbox" name="someName" id="someName">I AGREE</label></li>               <li><label>ELECTRONIC SIGNATURE REQUIRED*<input type="text" name="someName" id="someName"></label></li>            </ul>     </fieldset> It is applying the error class to the label and not displaying
  • jquery cycle with carousel

    Hello, I'm having some problems with jquery cycle pagerAnchorBuilder, when I initiate the carousel functionality the cycle pagerAnchorBuilder is not working, demo here: www.siljamagg.com/slide-demo/ the code looks like this.        $('#slideshow').after('<div id="carousel-test"><ul>').cycle({            fx:     'scrollHorz',            speed:  400,            prev:   '#prev',            next:   '#next',            after: onAfter,            timeout: 0,            pager:  '#carousel-test ul:first',
  • jQuery just isn't operating...

       I am new to jQuery and Javascript but I have a firm understanding of it's fundamentals (at least I think I do). I put together a basic Test Page to see if the functionality would work, but it is not. This is what I wrote: <!DOCTYPE html> <head> <title> test page </title> <style>     #box {       height: 100px;        width: 100px;        background-color: #0000ff; } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"> </script> <script
  • background-attachment

    I want the background to stay fixed, while the content scrolls over it. Does the background-attachment declaration work as expected when used on the page element? It doesn't seem to when using a  iPhone 3g, running iOS 3, and I've gathered information from other sources saying it has to do with the way the viewport is rendered. I haven't found much information beyond this, can anyone shed some light?
  • [jQuery] How to get the entire width of a page

    <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
  • wrapAll($(something)) doesnt work in IE

    Hi All, I'm having a problem with wrapAll() in IE in Chrome and firefox it works fine. However in IE it makes Javascript execution stop. Here's the site: http://codestairway.com/LoLItemsHierachy/. Line 50 is where the problem occurs. I tried switching:  "$(ul).append($(this).html());" with: "$(this).wrapAll($(ul));" but that causes the html of $(ul) to not append or something like that. Or atleast it doesnt show up in all browsers. Anyone know the cause of this? Thanks in advance, Rope.
  • Adding Click Event To Pagination

    My issue here is that the click event (edit) will work on page one but it won't when there's more than one page. What I need to do is add the click event to each page and I'm not sure where I need to accomplish this at. <?php error_reporting(E_ALL); // Include the database page include ('../inc/dbconfig.php'); $query = "SELECT CONCAT_WS(' ', handlers.firstName, handlers.lastName) AS name, DATE_FORMAT(characters.dateCreated, '%M %d, %Y') AS dateCreated, characters.ID, characters.characterName, statuses.statusName,
  • How can i change specific image links if the image is in javascript?

    hello my site is www.islamobec.com i have one "next" navigation link in javascript that control all the images with multiple sliding panels in the same page. for example how can i place the following image: images/2box_arrow2.gif for my second sliding panel "next" navigation arrow??
  • deleting records and reloading

    I am using the the modal form method of jquery ui (http://jqueryui.com/demos/dialog/#modal-form) to add notes to a record.  The notes are shown via an included file.  I want to put a method to delete a particular note from the list w/o leaving the page. I cannot send pages b.c they are inside a protected site but here is the basic layout.. <page> $("div##notesDiv").load("inc/incNotesList.cfm",{ID:"#url.clientid#",table:"client"});   $('div.dialog-form').dialog({ autoOpen: false }); $("#addNoteBtn").click(function
  • jQuery.validate file upload

    Hello, I`m using the jQuery.validate plugin from http://bassistance.de/ . I would like to add custom <input type="file" /> validation to my script. <script type="text/javascript">     $(document).ready(function () {         $("#name,#file").addClass("required");         $("#preventspam").addClass("required digits");         $("#email").addClass("required email");         $("#telefon").addClass("digits");         $("#contact").validate({             errorLabelContainer: $("#contact div.error")        
  • Post Json object and redirect URL

    Hello, I would like to redirect my request from a page to another one with a json object. The only way i have found to do this is :       $.ajax({         type: "POST",         contentType: "application/json",         url: "/SaveMyJsonInSession",         data: $.toJSON(model),         success: function (result) {                         // redirect to validation             window.location.href ="/UseMyJsonInSession";                       }         }); Is there a way to do this without using .Ajax
  • Style range slider handles

    Sorry if I have already posted this (I don't think it went through before my browser crashed!). I currently use this code: $(document).ready(function() {     handle = $('.slider A.ui-slider-handle');             handle.eq(0).addClass('left-handle');             handle.eq(1).addClass('right-handle'); }); to add a class to the left and right handles of my range slider but if I add more than one slider to the same page this code only seems to add the classes to the first slider on the page and not all
  • Slider still not working in webos

    I love jQuery Mobile. Keep up the good work jQuery team! It seems both the slider and toggle widgets don't slide in webos 1.5.... or older. I haven't tested it out in webos 2.0 yet. They respond to a tap though... Which is interesting. Jamie Update - I just tested this in webos 2.1 and the same problem is there.
  • Please help me a little - jquery Slide show

    I made a simple slide show using jquery and "setInterval() " function. Everything working fine but I just need to start this serInterval function only after the div or page loads completely. I will post my code here ... $(document).ready(function () {  var s=setInterval('slide()',3000);  }); function slide(){ var pos=$("#slider").position().left; if(pos>-5400){     $("#slider").animate({"left":"-=600px"},300);     }else     $("#slider").animate({"left":"0px"},600);     } }and my html page <div id="imgContainer"
  • jQuery Accordion trigger on radio click

    I'd like to start off by saying I'm a newbie to jQuery (which will become apparent in a few seconds). First I'll tell you what I am trying to do....I have a simple form where a user can fill out info to buy a product. On load, it hides the "Billing Address" area, assuming everyone is using the same shipping and billing address, and asks the user "Is your billing address the same as your shipping address?" and there are two radio buttons "Yes" and "No" (By default, "Yes" is checked.) If the user clicks
  • How to re fire a script.

    Hello, I am brand new to jQuery. I want to know when I load a new html that changes a section of the page and it is dependent on the jQuery script that has run once when page ready how do I re run the script again when the new html section gets loaded.
  • How to automatically group/wrap n elements with a div?

    I've got a list of paragraphs like so: <p>...</p> <p>...</p> <p>...</p> <p>...</p> <p>...</p> <p>...</p> <p>...</p> I want to get jQuery to group 3 paragraphs with a div like this: <div>   <p>...</p>    <p>...</p>   <p>...</p> </div> <div>   <p>...</p>   <p>...</p>   <p>...</p> </div> <div>   <p>...</p> </div> The last div will simply contain the remainder number of paragraphs. Appreciate your help, thanks!
  • iframe and jquery ui tabs

    I am testing a web page that uses an iframe to call a page that uses jquery ui tabs and ajax to load content. The page works fine in chrome and firefox, but not in internet explorer inside the iframe. It will work in IE when it is not in an iframe. Does anyone know why and how to solve it?   The parent: (http://www.commonbond.org/test_bed.aspx <iframe src="http://commonbond2.pegasus.webaloo.com/development-bundle/demos/tabs/ajax.html" width="100%" height="300" scrolling="yes" id="mainframe">    <p>Your
  • form elements are growing while page is navigating

    I have a main page which has a "settings" button leading to settings.html   inside it, I have a checkbox and a label for it.   When moving to settings, I se the label background is very high while perform the nav-in animation, and when it's done, it shows as normal. Same goes when performing the nav-out animation (click "Back" from that page).   Has anyone encountered it before?   Thanks   P.S. I'm using iPhone 3GS firmware 4.2
  • .slideToggle on a table row

    Hi ! I'm a beginner with JQuery (and Ajax) and I have a little question with the slideToggle effect. I would like to develop a HTML table with some data and, when you click on a row, a row appears below the first and shows some details for the first row. I tried to do this : <button>Toggle</button> <table border="1">     <tr><td>1</td></tr>     <tr id="toggled1" style="display:none;"><td>2</td></tr>     <tr><td>3</td></tr>     <tr id="toggled2" style="display:none;"><td>4</td></tr>   </table> <script>
  • jQuery Cycle with png file

    Hi gys, I using the jquery cycle plugin with png files, but in IE8 the transparence of the image png not works... How to resolve this problem? http://portal.colegioantoniovieira.com.br/sitecav/
  • Getting no results using $.ajax in IE 7, 8, or 9... Am I missing something here?

    Hello guys, I am building an app in Facebook and would like to pull in some Causes stats. In order to do this I am using jQuery and the ajax call. I am also using YQL. Here is what I have: <script src="https://www.google.com/jsapi" type="text/javascript"></script>  <script language="javascript" type="text/javascript" charset="utf-8"> //<![CDATA[ google.load("jquery", "1");  //]]> </script> <script type="text/javascript" charset="utf-8"> /* <![CDATA[ */ $(document).ready(function() {  $.ajax({ type:
  • Coda Slider - Problem with slider.siblings

    Hi, I'm having a problem with the Coda Slider plugin for jQuery. Being a JavaScript novice, I have no idea how to solve the problem myself. So... any help would be most appreciated. The demo example I'm working from can be found here: http://www.ndoherty.biz/demos/coda-slider/2.0/ I'm using Example 4, without the hard-coded non-dynamic navigation. Here's my code: ===start===             <div class="box-footer">                 <div id="coda-nav-1" class="coda-nav">                     <ul>                    
  • How to capture Next/Prev Event of JQuery Calendar

    Dear All, I want get the current month when user clicks on Next/Prev on Month Calendar of JQuery. My Jquery code for calendar is this:- $(document).ready(function () {         var date = new Date();         var d = date.getDate();         var m = date.getMonth();         var y = date.getFullYear();         $('#calendar').fullCalendar({             theme: true,             header: {                 left: 'prev,next',                 center: 'title',                 right: 'prev,next'             },
  • charset in jquery ui

    hi, I'm get data from a form in jquery ui dialog. A string can contains chars like 'à' 'è'. I've a problem when saving on db, because charset in the page is ISO-8859-1 but characters are not saved in the db as ISO characters, but in other charset. Why does it happen??
  • How can I check to see if a Model(MVC) is valid?

    Hello Group,   I am trying to check to see if a model is valid(without errors) when the page loads.  Using VB.NET is there a way of doing this?   Also, I am trying to do this in the .ascx page... i only see for the modelstate methods of Equals and referenceequals.... Here is the code I using which doesnt work...   <% If ChampionTrees.Common.Models.PersonIndicator.Owner And Len(LTrim(RTrim(Html.Encode(Model.LastName)))) < 1 And _ Len(LTrim(RTrim(Html.Encode(Model.FirstName)))) > 1 And ModelState.Equals(True,
  • How can I use subclass property in jQuery.sub method ?

    Hi. I read jQuery core.js(1.5) last month with my friends who love it. :-) We were not sure what is the code of "jQuerySubclass.subclass = this.subclass;" in the jQuery.sub method. How can I use it and what is the meaning of this substitution. I checked unit test of core.js, but I have no idea. If I don't set any value to jQuery.subclass, subclass property of the sub-class is undefined. var subClass = $.sub(); subClass.subclass; // => undefined subClass.subclass = "subClassName"; var subsubClass
  • Auto Page Titles

    Hi, I started developing an application using jqt (jQuery Touch), but I needed to move over to jqm (jQuery Mobile) due to the fact that I am writing the app for PhoneGap to compile into various platforms which jqt didnt support so well. In particular the tap instead of click functions While using jqt I stumbled upon an extension written for it that allows for auto titles on some pages, and i used to this to build my applications main components which reads in an rss feed for a few sections, builds
  • Howdo I get the current element within $.ajax's success function?

    Hi all, I'm following the jquery official guide on developing plugins and I run into this situation where I need to retrieve the data associated with the current element and I don't know how do that. I will post a shortened and simplified version of my code below, hopefully some experts out there can shed some light on me I need to access the current element $this inside my success function which is defined in var opts, however this seems to be impossible. I want to at least try to get which element
  • Why the dialog is not showed?

    Hi every: I'm trying to setup a modal dialog on my site. This is the code I'm using: <script type="text/javascript" src="view/javascript/jquery/jquery-1.5.min.js"></script> <script type="text/javascript" src="view/javascript/jquery/ui/ui.core.js"></script> <script type="text/javascript" src="view/javascript/jquery/ui/ui.dialog.js"></script> <script type="text/javascript" src="view/javascript/jquery/ui/ui.resizable.js"></script> <script type="text/javascript" src="view/javascript/jquery/ui/ui.draggable.js"></script>
  • Tabbed Panes show just hyperlinks, no interface

    Hello, I want to use jQuery for Tabbed Panels. I do the following. It does not work. I just get the links and and text text below it. I am new to using this. <link type="text/css" href="template.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script> <script type="text/javascript">        $(function() {            $( "#tabs" ).tabs();  }); </script>                         <div
  • A small piece of code that doesn't work in IE*. Why might it be?

    This small block of code doesn't work in IE8 for me: http://pastie.org/1623228 It works nicely in Chrome but not IE8. Here's the actual context I'm using it in: http://pastie.org/1623234 Any idea what's wrong?
  • php detection for jquery mobile

    Hello there, I have developed version that works for old mobiles and developed version where jquery mobile works. So one question: Is there a made script that detects all mobiles where jquery mobile works? if so please send me link.. kind regards, davor http://www.websiteplaats.nl/
  • .load() with VAR not working! PLEASE HELP!

    Please can someone help with this simple problem! In this example, only the contents of a div called #business-services-info should be loaded in from the what-cms.php page, not the full page. Can anyone explain why the .load() event is ignoring my var (ahash) as the target div location to fetch the data from? http://ag-chartered-accountants.com/dynamic/page3.php#business-services-info The code: <body> <script type="text/javascript"> $(window).load (function() { var ahash = new String(window.location.hash);
  • 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