• Del a row dinamically added with append

    Hello, I'm working on a project were the user need add "n" items to a list before save the information The fields are Quantity Description Price http://jsfiddle.net/jBx9q/ What I do is, pass the values from the form to the dynamic table and add a counter into a hidden input I use append to add a table row with the form information (see function add row), the append add a TD with a link that calls the delrow() function It works, but once I delete a row, on every part of the dynamic table when I do
  • ComboBox when pressed creates a popup box

    Hi Guys, when the combobox is pressed it creates a popup page. Instead of the popup box . Attached picture is the problem that am facing. As you can see the left picture is the problem it covers the whole page. But when you hit the "X" mark (on the left picture) and press the combobox again it goes to normal combobox shown on the right. Thanks for the help guys. BTW were using these plugins. <script src="scripts/jquery-1.10.2.min.js"></script> <script src="scripts/jquery.mobile-1.3.2.min.js"></script>
  • Keyup function with added input field

    Hi out there. please check this JSfiddle: http://jsfiddle.net/lluuccaass/LYDuZ/336/ as you can see, the keyup function to display the value works with "field_1" perfectly. with "field_2"  - after adding it - it does not. I would really appreciate your help and a short explanation. Thanks a lot!
  • Force accordion to focus at top

    I have an accordion of 4 elements each of which opens to more than a screen's worth of text. Reading to the bottom of each section requires scrolling. Once there the next accordion is visible. When that new section is clicked it opens by expanding to the top, leaving the window focused on the bottom of that section. So you have to scroll back up to begin reading at the top of that section. Not good. Any way to keep the focus at the top of each section when it opens?  Or, failing that, at the top
  • jquery ui widget 疑问

    jquery ui 1.10.3版本 jquery.ui.widget.js中第48~59行中 constructor = $[ namespace ][ name ] = function( options, element ) { // allow instantiation without "new" keyword if ( !this._createWidget ) { return new constructor( options, element ); } // allow instantiation without initializing for simple inheritance // must use "new" keyword (the code above always passes args) if ( arguments.length ) { this._createWidget( options, element ); } }; 请问高手们什么情况会走红色部分,如果走红色部分不是死循环吗?
  • Pages doesnt work.

    Why doesnt my pages work. I am placed all the links correctly but when i press about and settings in my panel it doesnt work.  Here is my code: <!DOCTYPE html> <html>     <head>     <title>Simple Calculator</title> <link rel="stylesheet" href="css/index.css"/>         <link rel="stylesheet" href="jquery/css/jquery.mobile-1.4.2.min.css" type="text/css"/> <script src="jquery/jquery-1.11.0.min.js" type ="text/javascript" charset="utf-8"></script> <script src="jquery/jquery.mobile-1.4.2.min.js" type="text/javascript"
  • onhover not returning to the lefthand element

    Hello All, I am following the tutotial and got stuck on chapter 3/9. When you hover over the menu it all works fine, but when moving away, the highlight moves to the left (as it should) but immediately moves back to its current position. Also I believe that the highlight should be on the lefthand side after the page finishes loading. The highlight only shows when hovering over the menu with the mouse, but then it stays. I have added the code below, can anyone point out where it goes wrong? Regards,
  • Stop multiple animations on hover/click?

    Can someone share the method of approach to stopping the same event from being fired in the case of excessive clicking/hovers? Thanks
  • creare celle dinamiche

    ciao a tutti! ho Bisogno Che qualcuno mi Aiuti! Sono in Crisi ... vi spiego in poche parole Cosa devo realizzare...  creare Una Pagina Web divisa da tante celle con all'interno dei Numeri, i Numeri dovrebbero DOPO sparire, in Maniera da visualizzare solo i Bordi delle celle. la Funzione di queste celle DEVE Essere stile bottone,(effetto dissolvenza)  poi avrei Bisogno di 2 i bottoni Uno Con VISUALIZZA i Numeri delle celle selezionate e il Secondo bottone invia Dati di Una Pagina excell. Tutto QUESTO
  • append content, scroll to it, and then hide old content

    I have several div content container. What I would like to have is the following jquery effect; you click on a link, the content of the div container associated with the link is appended to the current content. Then, the page scrolls to the new content and the old content disappears. That means, when manually scrolling, you can only see the current div container but not the others. However, when clicking on a link to see new content, you see a smooth scrolling down animation to this content and the
  • how can i use jQuery for showing jQuery Panorama images ?

    Hi I want to use Jquery for showing Panorama images the way that i can move one picture in to different  places. I used to do it by flash. here ... how dose it work by jQery ?
  • Jquery autocomplete not working in mvc 4 app

    Hi, i have tried all jquery available from jqueryui.com in my mvc 4 app, everything is working fine. only the autocomplete jquery is not working. please help me
  • how to import page

    hi I created a site with tabs. it is working well with text. also, I created a site content images and some information for each image "slides".   how i can import the index.html for images site in one of the tabs?
  • 3D Effect for images

    Hi guys! I'm coding right now my own website and just have wondered is it possible to put an alpha image and scale its corners according to z-index. Example: image1.png Corner A {z-index:100} Corner B {z-index:-100} Corner C {z-index:-100} Corner D {z-index:100} And after all put another image in the middle of the first one so that second image could be like crossing the first one? Sorry for being dummy...
  • setTimeout() and dynamic menu dropdown

    I'm building a dynamic menu with CMS Drupal 7 and Views. This is the structure: Menu 1 Menu 2 Menu 3 When hovering on the first menu link (Menu 1), it will display a div that will show dynamic content. So far hovering works great and after mouseleave in 2 seconds the div will disappear. setTimeout() function works fine, but I want when hovering the menu link and after that hovering the div to not be hidden after 2 seconds. What function do I have to add? This is my code: (function($){     $(document).ready(function(){
  • Problem executing code after slideToggle('slow')

    Hello All, I am working my way through the tutorial and found the following problem. If I use the following code, the if always returns true. However if I put in a alert() before the if it works correctly. What am I doing wrong? $(document).ready(function(){   $('#celebs tbody tr:even').addClass('zebra');   $( '<input type="button" id="toggleButton" value="Hide" />' ).insertAfter( '#disclaimer' );   $( '#no-script' ).remove();   $( '#toggleButton' ).click(function() {     $( '#disclaimer' ).slideToggle('slow');
  • How to remove Tag name css from jquery?

    Hi, For example i add css like this:  table, thead, tbody, th, td, tr {         display: block;     } and I want to remove when my page go on responsive so how to remove this table tag css from Jquery? Thanks Chetan
  • Jquery date picker conflict

    This code is causing the jquery date picker to not function. Any idea why?: <script src="js/vendor/jquery-1.8.0.min.js?v=3.2.718" type="text/javascript"></script> <script src="js/vendor/maskedinput.min.js?v=3.2.718" type="text/javascript"></script> <script src="js/prototype.js?v=3.2.718" type="text/javascript"></script> <script src="js/json2.js?v=3.2.718" type="text/javascript"></script> <script src="js/protoplus.js?v=3.2.718" type="text/javascript"></script> <script src="js/protoplus-ui.js?v=3.2.718"
  • How to dynamic list in switch case in javascript?

    How add dynamic List in switch case in js?I have used this in custom sorting datatable jquery plugin. I have added static code in switch case its working. but its not in Dynamic list.  Static Switch code:  *jQuery.extend( jQuery.fn.dataTableExt.oSort, { "enums-pre": function ( a ) { // Add / alter the switch statement below to match your enum list   switch( a ) { case "Target":   return 1; case "Qualify": return 2; case "Discover":    return 3; case "Verify":    return 4; case "Present":    return
  • Does anyone know what kind of flipbook is used from archive.org ?

    How can I use this flipbook here, this is great and I want it ;-) Thanks for answers!
  • creating a menu where every item has a custom icon next to it

    I'd like to create a popup (like a div) that appears when you do a mouse-over of a little icon at the bottom of my screen.  The little icon is called "more", and it should show a white box that contains some icons, associated text, and the icons and text should link to pages. I looked at the menu feature of jquery-ui, and it seems that the icons provided are not icons that I would provide, but rather general icons. So what is the best way to go about this?  (For an example, on www.google.com, you
  • get the value of php parameter using jquery

    Hi, I have a function which was written with jquery, and I have a php parameter which its value changes depending on the current page, for example if I'm in home page the parameter will set by GET method "index.php?page=home". my question is how to get the value of this parameter using jquery to prevent executing my jquery function while I'm in specify page.in other word ,I want to execute a jquery function whlie the current page is home page for example. thanks
  • Disable HTML rendering in jQuery UI tooltip widget?

    Hello, I'd like to be able to configure the tooltip widget to simply display whatever text I give it, rather than try to interpret HTML tags and entity references. Is there a way to do this? Or a simple hack to make it work? Thanks, Evan
  • Having trouble with setup in jqGrid

    I am successfully retrieving data from my controller method and want to display data on the jqGrid. I notice during debugging, that I get an error message that pops up (which I'm not expecting) that says "Element is not a table". The error occurs on the line trying to set up the onCellSelect event for the grid. Even after I removed the "onCellSelect" event, I got the same exact error right after the "emptyRecords" property. This definitely tells me that there is something wrong in the format of the
  • jQuery using if else with mouseover

    Hi there,  i am quite new here and searching for help! Im trying to have a larger header while the site is scrolled to the top AND when there is mouseover.  The first part of the code is copied by a blog, the second part is written by me and it doesn t work out at all! Please help me! Thanks! $(function(){     $('#header').data('size','big'); }); $(window).scroll(function(){     if($(document).scrollTop() > 0)     {         if($('#header').data('size') == 'big')         {             $('#header').data('size','small');
  • ui-btn-active class gets removed if data-transition="none" attribute is set.

    I am using a persistent fixed external navbar/footer in jqm 1.4. The ui-btn-active class gets applied and stays (as it should) on transition if data-transition attribute is not set or set to 'fade', 'slide' etc.  However if I set it to 'none' the ui-btn-active class gets removed from the active page after page change. How can I use data-transition="none" and ensure that the ui-btn-active class remains?
  • Input character field right align when loose focus

    Can you on a Input character field right align when loose focus with jQuery ajax? I can't find a example. James James R. Martin J. Martin Associates
  • adding classes to div according to it's number with javascript

    I am using touchSlider plugin for sliding content on mobile: https://www.mobilizetoday.com/freebies/touchslider Below is my code that I am using to slide my content, which is 3 pictures, either by sliding with my finger, or by clicking on the big circles below my slider ( #tabs2 ). in my current code, when a #tabs2is active, .active class is added to it. That is the code for active class: #tabs2 a.active { background-color: #87c654; } What I want to do is, each #tabs2, when active, takes a certain
  • removing rows from a table : specifying row index

    Hi All,  This is having me puzzled.  I have table with id = "rules" and <tbody> tag defined. I am trying to delete all the rows except first two rows in <tbody> . $('#rules > tbody > tr:gt(1)').remove();  //this works (if I assign  '1' directly in command)  However, the following code doesn't work.  var a = 1; $('#rules > tbody > tr:gt(a)').remove(); //doesn't work .  I tried different approaches, and in all cases if I assign a integer value as index , it works. However, if I assign a variable for
  • How to Add values from checkboxes

    Hello Everyone, I am trying to sum the values from the selected checkboxes ... But so far what i am getting is like 2,3...what i want is 5....Can anybody help me out to get this logic please. Thanks!!!! <html> <head>   <title>jQuery With Example</title>   <script src="http://code.jquery.com/jquery-1.9.1.js"  type="text/javascript"></script>   <script type="text/javascript">     $(function () {       $('.btnGetSelectedValue').click( function(){         var chkId = '';         $('.chkNumber:checked').each(function()
  • Change style on auto complete component with combo box

    http://jqueryui.com/autocomplete/#combobox I am using the auto complete component with combo box But I don't know how to change the combo box style. eg. size, color...etc How can I change it?
  • Data-Role Content, Scrolling To The Top Of A Div Inside It.

    I am completely flummoxed on how to scroll to the top of an internal <div>.  I have created a fiddle here that I hope tries to explain what I aiming to do. The red bordered box holds the content as I wish to maintain state between some pages rather than have it revert to the top before transition. On the large part this is fine but there are a couple of pages that I wish to have the content in its original state starting with the first paragraph. In a browser I can use $('#trial_one.internalDiv').scrollTop(0);
  • New.. .Need Help

    Hey I am very new at jquary. I am in the process of building a website, and I want to add a content slider for her 13 pages of ( modules) , I am using slidorion, but i cannot get it to work and I really do not understand any of the code language... ANY HELP??? 
  • Trim unwanted div tag

    Hi,   I have a value which is of the format :   <div class="ExternalClass{GUID}"><p>as</p></div>   I want to retrieve the value "as" from it.   How to achieve this in jquery?   Thanks
  • Image LOAD and ERROR events are not fired depending the browser in use

    I've a very strange problem making work a preloader. I've created a simple preloader for my site that claculates thew status of images load and show a progress bar. With firefox all works fine, while in Chrome and IE some events seems not fired... The site contains 16 image, with Chrome only 15 are calculated (both between success and errors), while on IE only 5! This is the code: $(document).ready(function() { .... var imgsNumb = $("img").length;           var doProgress=function(){          lodedSize++;
  • Draggable connect to Sortable (array of Sortables rather than one sortable reference)?

    Is it possible to set the connectToSortable to be an array of sortable elements which are not all the same class? element.draggable({                 connectToSortable: [".sortableType",".somethingOtherType",".anotherSortableType"],                 start: function(event, ui){                 },                 stop: function(event, ui){                 } }); I have an element I would like to be able to drag into multiple locations where each location is made up of different things. I have tried using
  • jquery

    i create one jquery but not proper output get. html: <table id="gvCustomers"> <tbody> <tr> <th style="width:150px;">Contact Name</th> <th style="width:150px;" scope="col">CustomerID</th> <th style="width:150px;" scope="col">City</th> <th style="width:150px;" scope="col">edit</th> </tr> script:  $("#gvCustomers tr th").live("click", function () {       alert("hi this is tested");       alert(this.text());   }); i want to get perticular header text when i click on header of table but in this only first
  • How to select cloest td value?

    here is the code http://jsfiddle.net/boajay/8RCTT/ i want to select the value (test1),any one know how to do? thx
  • TinyMCE Plugin

    Hello: I inherited a web application and today I noticed it had more than 14,000 entries referring to TinyMCE. I need help. I need to make some edits and I am trying to figure out where this plugin is connecting to the database. I cannot figure it out. I go to the front end and search on the element, then go to the back end and search by name and I get this: tinymce.PluginManager.add("link",function(e){function t(){function t(){i||0!==o.text.length||this.parent().parent().find("#text")[0].value(this.value())}var
  • Accordion: Internal links inside content won't open a different section in Accordion.

    Newbie here. I really enjoy this widget but I am not sure how to get an internal link to open another panel. For example, say there's a link in Section 3's content that links to content inside Section 2. Not sure how to go about modifying this code to make it work in the way I would like it to. Thank you to anyone who can lend a hand!
  • 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