• What jQuery plugin was used here?

    How do I accomplish this with jCycle: http://www.i-escape.com/six-senses-ninh-van/overview# but client wants only 2 large thumbs on the right that scroll in synch with big images I have built this with jCarousel but cant synchronise large images to fade in and out: http://www.vrischgewagt.co.za/viewFarina.html 
  • Advice on a jquery slider please?

    I have done this tutorial over four times today. see nothing wrong, would a local expert please take  a  look and tell me where I am off? Thank you! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>slideTest</title> <style type="text/css"> .slider {     height: 300px;     width: 500px;     overflow:
  • Having an issue running more than one script plugin

    Hello there, I am new : ) Anyway I am implementing jQuery into my new website and have ran into a snag.  I had a really nice scroll function working in which the user would click a link and have a smooth scroll down to a #div.  It worked great.  But then I went back and added shadowbox.js to the site to open recent projects for display and it seems to have broken the smooth scroll.  Now it just jumps directly to the #div. Here is my script section of the head of the document. <script src="Scripts/AC_RunActiveContent.js"
  • Append modifying <br /> tag

    If I append a <br /> tag to a page it is being written as <br>. e.g  $('#content2').append('New Line <br />'); looks like        <div id="content2">New Line <br></div> I've checked this in 1.7.2 and 1.6.4 - is this a feature?  For example - see http://jsfiddle.net/uAqFT/ cheers Stuart
  • Is there a performance penalty for using an overly broad selector?

    I just tried using a specific selector but after ~30 attempts gave up and used a broad selector. In the wrong context the functionality of the selector won't hurt anything. But the right context is maybe 1 out of 100 of the elements selected. Do I pay a performance penalty for this? It's something very broad like: $(document).on("click", "li", function() { $("[blocked]").removeClass("ui-disabled"); } ); Where li is the selector I am concerned about being too broad. There are maybe 200 li's on the
  • tiptip not working ok on a new jquery v1.8.0

    Since a new version jQuery v1.8.0, the boxes title using tiptip, show now on 0,0 px on screen.   Do you know some way to fix it ?
  • New jQuery based JavaScript frameworks

    Hi Everyone, My company (ThoughtLeadr) just open sourced its jQuery-based front-end framework called Sasquatch. It simplifies the process of creating desktop-caliber webapps by providing an elegant controller/view architecture and accompanying compiler. Check it out – we would love your feedback: http://thoughtleadr.github.com/Sasquatch/
  • events doubt

    How to convert the same jquery functionality into zepto? jquery http://jsfiddle.net/EgQVX/ zepto http://jsfiddle.net/rajkumart08/s6hBG/
  • .html (); for getting form input tag content

    How can I "get" the contents that are typed into a input on a form and place them in a element? The example below works on html elements but doesn't seem to work on input. Do I have to "action=post" the contents to make them accessible? <form> <input id="year" type="input"> <input value="Generate" id="generate" type="button"> </form> <div id="source"></div> <script> $('generate').click(function() {       var year = $('#year').html ();       $('#source').text(year); </script>
  • JQuery event binding on new clone rows

    Hi , I have been working on a functionality where, i need to implement auto save on each cell of a table and also, add a new row if that cell is the last cell of the last row. The newly cloned row should also have the same binded blur events. I am able to add the new row but the event are not getting triggered. Here is the code.. Please help stuck for long now.. $("#myTable1").live("blur", function(){        var elementValue = document.getElementById("<%=count%>").value.toString();        var value
  • jQuery SVG: id="path_for_x:5_y:5" couldn't be found

    Hi there, i'm using jQuery SVG for a while to create a game map with some tiles, i need to change opacity of some tiles (to draw a astar path finding result) but i'm stuck on a little issue: $("#path_for_x:5_y:5", mapSVG.root()).attr("opacity", "0.5");the error is: Uncaught Error: Syntax error, unrecognized expression: 5_y Does anyone know why? i tried to escape some characters like ":" or "_" but didn't fix the issue.
  • Insert text at cursor contenteditable

    Hello, I would like to make a simple editor for my website, the concept is is turning contenteditable on, so I can edit the div. What I would like to know is how I can insert text at the cursor position in the current div? I have no idea how to google this, so if someone could give some examples or tell me what this technique is called, I'd be really grateful. 
  • conflict with plupload

    I'm having a conflict with plupload. Since adding the plupload to my page, none of my .slideToggle doesn't work anymore. Has anyone else run into this problem or know a fix?
  • reg-reading & print json array values

    How to read & print  below json array values in html table using jquery [{"det":{"id":1,"fname":"Lenin"}},{"det":{"id":2,"fname":"Lenin"}}] Regards G.Lenin
  • Contains case insensitive and jQuery 1.8.0

    Hello, i have some problems with my conatins case insensitive function and jQuery 1.8.0. This functions works with jQuery 1.7.2. Here is my example: http://jsfiddle.net/M73dy/1/ Can somebody help me? Regards
  • Easing

    Hello I'm trying to use the easing plugin but I can't get it to alter the duration, where am I going wrong? Thanks <script type="text/javascript"> $(document).ready(function()    {   jQuery.easing.def = 'easeOutBounce'; $('#item1').animate({duration:3000});   });
  • Callback from closing window does not fire?

    Hi everyone, I am working on a cms and I have a button which will open a window where the users can input data. I bound a beforeunload event, but it does not always work. Anyone have any ideas? Here is my code: $('#addText').live('click', function(e) {     $(window.open("http://www.website.com/cms/addText.html", "mywindow", "menubar=1,resizable=1,width=550,height=450")).bind('beforeunload', function() {         $(this).unbind('beforeunload');         loadFreshContent('text');     }); });​ Those two
  • Soft mouseover effect

    Hi, I want to create a soft mouseover css effect, which changes the color of a Link. But I don't now which fuction to use! I tried this: function mover(obj){ if(!obj.length)return; $("a").mouseover(function(){   $(this).animate({color:"#fff"},300); }); } and this: function mover(obj){ if(!obj.length)return; $("a").mouseover(function(){   $(this).css("color", "#FFF").fadeIn("slow"); }); } The first one doesn't work and the second one is as hard as css would produce it. So what is the correct function?
  • Need help with jquery slider

    I am trying to create left and right navigation over my slider using jquery and the jquery cycle plugin. I am terribly new to this. I would appreciate any help and can send a screen shot of what I am trying to accomplish. Thanks in advance.
  • Validation of select field

    I have a problem with validation of select field. Because field is automatic filled by jquery the validation script (in php) don't "see" that the field is marked/selected. If I select the field by "click" - everything is ok. but in some cases the user don't have the possibility to select this field (if finish_day is less than 4). What is interesting, when I delete the line 3 - validator works ok, but I need this line in the code - it select and change the another field. The code is below: if( parseInt($("#finish_day").val())
  • how can i create a button like bookmark with star image along with listview??

    i want to create a button or check box with an image along with list view.I have a list of items  for each item there should be a image button the image is star,i want to implement a concept like bookmark please help me out
  • Passing information into a form using JQuery and sharepoint

    I'm using SPServices to try and take a user's email address from Sharepoint and send it to a new form field. I can get the email address without any trouble but I can't seem to get the email address put into a new form. This is the SPServices call I'm using to get the email: $().SPServices.SPGetCurrentUser({  fieldName: "EMail", debug: false });   How can I pass this into a new form field? I've tried googling but I'm brand new to JQuery as of today and I'm having trouble. I would appreciate any help.
  • disabling required validator and how asp:panel

    I have linkbutton on a click event I would like to show asp:panel (disable required validators). here is my code. what's incorrect? <script type="text/javascript"> $("#<%= lnkbAddNewGroup.ClientID %> ") .live("click", function (event) { alert('click'); disableAllValidators(); return false; }) function disableAllValidators() { if ((typeof (Page_Validators) != 'undefined') && (Page_Validators != null)) { for (var i = 0; i < Page_Validators.length; i++) { ValidatorEnable(Page_Validators[i], false);
  • How to get the multiple selected values from the drop down list in jquery

    Hi, <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" /> <link rel="stylesheet" type="text/css" href="http://www.erichynds.com/examples/jquery-ui-multiselect-widget/jquery.multiselect.css" /> <link rel="stylesheet" type="text/css" href="http://www.erichynds.com/examples/jquery-ui-multiselect-widget/jquery.multiselect.filter.css"
  • Calling function inline

    I have the following function:   $("#myDiv").myFunc({ initDelay: -1, delay: 1000 }); I have another function in another .js file: $.fn.setRandomDelay = function(){   return Math.random() * (4500 - 1500) + 1500;  };   I want to set the delay in the first function inline. Something like this: $("#myDiv").myFunc({ initDelay: -1, delay: setRandomDelay()});   But this won;t work. Is there a way to do this?
  • I found a bug for jquery 1.7.1

    I am a chinese ,English is not so good, I found When I with "div.select" get a dom, every time to cache, This is not to efficiency has very big effect?
  • Calendar Live Update notification plugin

    Hello, i would like to make a plugin that listens for events triggered by the underlying php application and notify me of the changes. Lets take the following example to clarify: Imagine person a manages its events calendar which is contributable by more members than this person a. While he manages his events, the calendar is managed by person b too. Both want to add an event for the same date at the same time. While person a was faster, person b should be notified immediately like for example the
  • Speedo meter Jquery graph

    Hi, I want to prepare the Speedometer Graph plot, please suggest the plugins and share the sample code.   Thanks
  • zepto help pls reply

    when i click this id="moreOptions" a pop should appear using zepto.js       <li id="moreOptions" data-view="offline-more">Testing Options...</li> http://zeptojs.com/#Touch events <header class="app-header">   Header Here </header> <section class="card-body app-home">   <div class='logo'>   </div>   <nav>     <ul>       <li id="findAtm" data-view="locations">Find ATM Locations</li>       <li id="myAccounts" data-view="login-home">My Accounts</li>       <li id="moreOptions" data-view="offline-more">Testing
  • .live method works but .on does not in 1.7.

    I read the following : As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live(). However in case I was using the .on method things did not work anymore. I do create div elements using the clone method, and have a remove function to remove them from the DOM.  This works .... $('.aclass').live('click', function (e) { } This does not $('.aclass').on('click', function (e) { } I will be be
  • tablesorter filter by cell attributes

    Hi, Is it possible to sort or filter a column by its cell values or by other data attributes and not by its contents? Thank you.
  • New plugin

    Hello all, I've been developing a piece of JavaScript for quite a while now and have been recommended to turn it into a jQuery plugin. What's the procedure for doing that - what's the first step? Do you write the code on your own site first, as a jQuery plugin or do you submit the conventional JavaScript somewhere? Thanks in advance,  Kind regards
  • Jquery post timing issue

    Hi, My problem: I have 2 functions like this: function submitForm() { // submit form } function doPost()  { // do a post  } function Login() { doPost(); submitForm(); } So my problem is that the doPost() function doesn't get properly executed, it only works if there is an alert function in it. I tried using the success function of the post to execute the submitForm() function, but it also didn't work properly. Can somebody point me in the right direction. I appreciate any help. Thanks, Erik
  • jquery round corners all around

    Hi I am trying to put round corners on a slider div. But so far I am only getting one round corner <script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="../s3Slider.js"></script> <script type="text/javascript" src="../js/jquery.corner.js"></script> <script type="text/javascript"> $("document").ready(function() {    $('#s3slider').s3Slider({       timeOut: 4000    }); }); $("document").ready(function(){ $("img, li,a").corner()  }); </script>  
  • Image Fade in , Audio Load, Movie load, Redirect with JQuery and HTML5

    OK so that was a mouth full. I have previous use this forum and with the help of it members mad some really great stuff. ( Thanks Jake) So this is what we are working on now..Basically we have all the elements working but i want to add another and I am not quite sure how to do it so  any help would be appreciated. Basically I want to add another image fade in before the redirect function kicks  and redirects the site. Here is the code: Thanks in advance..     <script type="text/javascript">     var
  • possible duplicate div.ui-controlgroup-controls being created via controlgroup()

    Not sure if this qualifies as an idea or a bug: In debugging an issue we had with the display of controlgroups, I noticed that controlgroup() inserts a <div class='ui-controlgroup-controls'> into the element without checking to see if it's already been added.  So if you had a situation where controlgroup() was called twice, you would see funny display formatting.  (fwiw, in 1.0.1 there's a check first to see if the heading exists before the div is added.) We saw issues when we upgraded to 1.1.1. 
  • disable button

    i am trying to add a property of "disabled" to a button using .prop (instead of .attr, i learned it should not be).  here is what i have: http://jsfiddle.net/AdJXH/
  • Animation with jquery - callback problem

    Hello everyone! I am preparing web-presentation and I would like to use jQuery animation to move some content.  This animation consists of sequence of actions. Here is the code of script: <!-- Script moving elements of animation --> <script type="text/javascript">        var speed=2000, txt=""; function animacja(){ $('.firstArrow').animate({top:-70, left:650},speed, function(){                   $('#refreshImage').fadeOut(500, function(){ $('#refreshImageGreen').animate({ transform: 'rotate(180deg)'},
  • replace MySQL &aacute;

    Hi, I have a lot of text saved as html in a MySQL database. I would like to replace some of the paragraphs, but I have words and vowels which are like this:  á that in MySql is saved as &aacute;  and it's difficult to replace. Do you know how to do this? regards
  • change dinamically HREF of sj:fieldtext

    Hi I may change the value of href property of <sj:textfield> with a script (jquery or js is the same).  This is need for make an async. http request e get the response in the same field. The call is good, the answer json i good, the result is good. The problem is that I can't update Href with new values. The code... <s:url  id="AA"   value="actionAsyn">              <s:param name="eta" value="123" />  // this is the value I want dynamically change  </s:url>        <sj:textfield  dataType="json"  
  • 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