• Getting rowindex of gridview and updating another gridview with values retrieved

    Hello, I'm new to JQuery and as such I've been having some problems with an operation I need to do. I have 2 gridviews (Gridview1 and grvFaturas as shown on code) and I catch the user logging to Windows which I will need as well. grvFaturas has an objectdatasource and the last element is a checkbox the others being Boundfields. That checkbox is mandatory and its source code is from here : http://tutorialzine.com/2011/03/better-check-boxes-jquery-css/ What I need is when I click on the checkbox on
  • Grouping shape objects

    Ok, I'm able to select multiple shape objects on the ui canvas, but then how do I group the selected shape objects? (Image of the selected shape objects)
  • Audio Playlist

    Hi, i want to build dynamically a music playlist. Is there any tutorial somewhere?Any idea?
  • AJAX - Going to other page and passing only data and remain there

    I'm in a small trouble. Ehm how can i call next page passing data with ajax? Here's the code : $.ajax({ type: 'POST', url: "collaboratori.php", data: str_param, }); How can i call the page collaboratori.php passing str_param and go to collaboratori.php page? First ajax call and pass data to salvamod001.php page and then return a result. But in the second ajax call i want go to next page passing data and go there! Thanks very much Cris
  • Superfish -> extra button

    I'm using Superfish for my responsive menu. The problem, when I go to contact page and then I select home in my dropdown superfish menu it doesn't go to my homepage.  So, the first button doesn't work? Is there a possibility to add an extra button only when they go to smaller devices?  For example the button Navigation...?
  • Nested li drag and drop using jquery ui draggable and droppable

    Before getting asked my question    My html structure    Design        Javascript : : $('#dataOne li').draggable({ helper: 'clone', containment: 'document', addClasses:false, revert: 'invalid' }) $dataTwo.droppable({ accept: "#dataOne li", activeClass: "ui-state-highlight", drop: function( event, ui ) { ui.draggable.draggable('option','disabled',true); $( this ).find( ".placeholder" ).remove(); /*Remove default placeholder from right div*/ var $dragTabs=ui.draggable.clone(); if($dragTabs.context.children[1].childElementCount>0){
  • jQuery Common UI Component

    Status: New To jQuery Technologies used in this issue: ·         ASP.NET using the 3.5 .NET Framework ·         C# ·         jQuery JavaScript Library v1.10.2 ·         jQuery UI - v1.10.4 ·         All css and image files associated with the smoothness jQuery UI theme  My task: I’m working on creating a “common” jQuery dll component that can easily be referenced by any web project where one wishes to utilize the functionality contained within. The reason I’m doing this is so I can manage all the
  • add button not working , to add new row when i select ondomready

    please find below my link http://jsfiddle.net/sn2aE/6/   i am new to jquery mobile when i select no wrap in <body > i can add row on clicking add button, but it does'nt  works when i select  ondomready in framwork and extension please help me...........
  • Can't post to popup, sized page

    I can use standard form/post/action to a new page but I am trying to do a window.open function but if I use: <form method="POST" action="javascript:window.open('newtest56o.php','','height=480,width=640')"> I get sized popup window but no passed info from post If I use: <FORM  onsubmit="window.open("newtest56o.php",'Popup','width=400,height=500')" action="newtest56o.php" method="post" target="Popup"> I get 2nd full size tabbed window  with the info I needed. I want popup small window that is focused,
  • Having trouble understand jquery functions

    Hey guys,   In order to further my understanding of Jquery I was trying to develop a chrome extension using the script below, and I was wondering where the script searched the page. Thanks, Jake   Script/Info: https://github.com/cowboy/jquery-replacetext //Script: /*!  * jQuery replaceText - v1.1 - 11/21/2009  * http://benalman.com/projects/jquery-replacetext-plugin/  *   * Copyright (c) 2009 "Cowboy" Ben Alman  * Dual licensed under the MIT and GPL licenses.  * http://benalman.com/about/license/
  • changing inserted jpg without reloading page?

    I have a fixed background photo (css) I only need to add three buttons on left side at a specific locations that will change a picture within a frame on the right side. 3 button, one of 3 jpg displayed. NO reloading of page. Any suggested scripts with demo you can suggest? It has been over 12 years since I have do website building but a little cut/paste of something similar will get my head working again. I do have a basic css webpage with some transparent links I was playing with. Thanks, Ray
  • Linkselect plugin not working with jquery-2.1.1

    I like Linkselect jQuery Plug-in v1.5.13 documentation says it works with jQuery v1.4.3 (or higher)* but I can't get it to work with jquery-2.1.1.js I do not exactly understand the included script but it seems to be related to my problem. IE: just a standard select drop down. Any help appreciated or any other way of doing the same would also be appreciated. Ray     <script type="text/javascript">     <!--//     // on DOM ready     $(document).ready(function (){         $("#current_rev").html("v"+$.linkselect.version);
  • dynamically changing dialog content

    Hello All (FWIW, my entire code is the alpha-stage MELT monitor on github ) I am using a jquery dialog for a modal form. That form contains an input text field. When the input is wrong (it is sent thru an AJAX post), I want to append a warning message after the form, and keep the modal dialog open. I can't understand how to do that. I tried several things. // datado is from the JSON in the AJAX successful reply // addediteminp_mom is the input inside the dialog //#mom_additem_msg is the message div
  • for each problem

    jQuery 1.8.3 this one works... just for i <dt>  var t = $('[isActiv="False"]');                 $(t).parents('td:first').addClass('bg'); but that fails:                 $.each('.lst tr td span [isActiv="False"]'), function () {                     $(this).parents('td:first').addClass('bg');                 } Line: 611 Error: Unable to get property 'call' of undefined or null reference
  • Uncaught ReferenceError: $ is not defined

    <script>                 $(function() {                     $("account_table").stupidtable();                 });             </script>             <button id="btnExport" class= "btn btn-info">Export</button> <div class="pagination"></div>        </div>     </div> <div id="footer"> <hr> <div class="inner"> <div class="container"> <p class="right">Copyright &copy; FSB</p> <p> </p> </div> </div> </div> </div> <!--<script src="<?//php echo base_url(); ?>assets/js/jquery-2.1.1.js"</script>-->     <script
  • Simple append and remove excercise not working

    I am trying to create a small code of making a list , when user put in the value in the input box and click on add, it should add the item to the list , I have figured that part out , but my problem is i can't remove them. you can see the code here  http://jsfiddle.net/direcode/HxPb7/155/ Please let me know what am I doing wrong.... Thanks  Dire
  • disable a sortable while dragging with connectedLists

    Hello, it seems to me that it is impossible to disable a sortable while dragging an element from another sortable. Here is little more information: I have multiple (more than 3) connected sortables. Think of it as lists of assigned tickets and another list with unassigned tickets. However the another list may also display all kinds of tickets, so it is possible that one entry is present in two (and at most in two) lists. So I want to prevent dragging an element from one list to another list that
  • Find status of Checkbox

    Hi, i have this code: fieldset data-role="controlgroup" data-iconpos="right" id="control">         <legend>PIck a  language:</legend>           <label for="gr">Greek</label>           <input type="checkbox" name="favcolor_gr" id="gr" value="greek" onchange="myFunction()">           <label for="en">English</label>           <input type="checkbox" name="favcolor_en" id="en" value="engl">           <label for="fr">French</label>           <input type="checkbox" name="favcolor_fr" id="fr" value="french">
  • Jquery plugin not proper working in inner nested repeater asp.net c#

    I used nested repeater for thumbnail image gallery slider using asp.net. So outer nested repeater for display names of the category. and inner repeater for thumbnail image gallery slider for different products. so i had used j query plugin for inner repeater for thumbnail but its not working. the plugin i had used for inner repeater.  http://www.aspsnippets.com/Articles/Implement-Carousel-Image-Gallery-in-ASPNet-using-jQuery-jCarousel-Plugin.aspx  but simple images are coming like list not thumbnail
  • How can i build a matrix object?

    hi, i have the following object structure: {       "Color": {name: "Color", values: ["red", "blue", "green"],       "Size": {name: "Size", values: ["S", "M", "L"],       .... } now i have to build a "matrix" and need the following result: Color red, Size S, Color red, Size M, Color red, Size L, Color blue, Size S, Color blue, Size M, .... how can i build that? greetings
  • Coming from mootools (jQuery class question)

    Hi, I usually use mootools but due to the popularity of jQuery i've decided to teach myself it.  I created some classes in mootools and i wanted to make the same in jQuery but i'm finding it really hard to understand and was hoping someone could help with a few basics.  So in mootools i've made a slider where you pass a .wrapper and a .store, and then the class builds a slider inside the wrapper with each slide being composed of items within the store div. I can pass other options such as navigation
  • jQuery click function issue

    I know this is caused by: jQuery(document).click(function(){ but, when I try to replace this with anythiung else like: jQuery(document).ready(function(){ for example, it no longer works. As far as i can remember the (document).click fucntion is there completely by accident and yet its needed for it to work properly, what am i missing? jQuery(document).click(function(){      jQuery('.toggle-on').click(function(){          jQuery('.post-info').addClass("post-info-toggle-off");          jQuery(this).addClass("toggle-off");
  • How to remove duplicate parameter on 2 strings?

    I have 2 variable with values and character '&' to determinate parameter (like URL parameter). Note: This is not a parameter from URL and not is a Array, just a string storage on variable! variable1 = "value1=bla&value2=ble&value3=bli&value4=blo&value5=blu" variable2 = "value2=car&value4=yellow&value9=big" I need compare 2 variables and if have same parameter on variable1 and variable2, i need exclude parameter from variable1 and use parameter of variable2. Like this: value1=bla&value2=car&value3=bli&value4=red&value5=blu&value9=big
  • HowTo: Horizontal, scrollable bar with cells - create, delete, move vertically

    People, I need to update a web site (which will perform the same functions as a wiki) and the way I want it to work is: from a Home Tab bar be able to click a Tab which creates a horizontal, scrollable bar underneath the Home Bar and made up of individual Cells containing a heading and a few words of description. To be able to see more Cells - on a PC this bar should be scrollable via Left / Right Cursor keys, by Mouse Dragging and Left / Right Arrows at each end of the bar.  On a phone or tablet
  • jQuery - get val()

    Hello. I have <input name="me" type="radio" value=""> <form><input name="other" type="radio" value=""></form> I want when i click over radio input (name="me") to get his value data and put it in other (name="other") form input. So, tell me how to work?
  • How to create a circle using jquery ..

    This is the code which I am using.. $('#buttons1').resize(function(height) {     var fuente = $(this).height() / 2;     var margen = (fuente / 2) - 5;     $('.contenido').css('font-size', fuente + 'px');     $('.contenido').css('margin-top', margen + 'px'); });      CSS--- #buttons1{   /*buttons1 central*/     background: #F9121E;     width: 100px;     height: 100px;     margin: 50px auto;     -moz-border-radius: 50%;     -webkit-border-radius: 50%;     border-radius: 50%;     border:3px solid #000;
  • Mobile website Drag and Scroll horizontal DIVS

    please help me with my project. I have a web page for desctop, tablet and mobile. I need only for mobiles I have for example structure like 4 tables,but it is div elemets every cell just structure looks like tables and to do horizontall scroll of the and drag.Every Box is DIV See in the picture my idea : http://i61.tinypic.com/21no9zk.png Drag in right and left. Default position two cells of DIVs in the screen and a little bit part from third to drag and scroll Thanks!
  • using closest, getting the value on clicking a button

    Howdy In a table with 3 cols and several rows, I have an int value on the first col and a button on the 2nd and 3rd. On clicking the button it should get the value of the first cell of its respective row and show it on the button. I have been given this here below, but while I understand what it pursues, still not coming on:   function change(elem") {            $("elem").closest('tr').find('td:first').text();         }                  </script> and the HTML goes: <tbody>             @foreach ($polls
  • css mod?

    http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css can someone quickly tell me how to mod the .css file so I can have a full screen calendar? actually, 75% of the screen all arounod.
  • How I make a script like pitchfork.com/features/cover-story/reader/bat-for-lashes/?

    Hi, I need to make a website like the example in pitchfork.com/features/cover-story/reader/bat-for-lashes/ Is there any script to do it?  Same efect than the website... (text and images change as you scroll down) Thanks, Francisco
  • How to fade out and in a Div in a relation with scrolling

    is there a way where I can make a fixed Div fade out when I Scroll the Page down and fade it in when I scroll back up  for this Website in The link bellow : this is the link <div class="BodyContainer"> <p class="Slogo">Live Like You are In Heaven</p> <div class="SubSContain"> <p class="SubSlogo">A Beautiul Life</p> </div> and this is the CSS : .BodyContainer { width:100%; display:block; position:fixed; z-index: 1;} Please help !! I asked may times but no one is answering !
  • Google Map in jQuery UI tabs (newbie)

    Hi all, I am using some CSS (suggested at the bottom of this page) to make my Google map responsive. When I put the map in jQuery UI tabs the map loads fine in the first tab but in the second tab it loads off centre as you can see here. There is some related discussion here and also the following suggestion here (re resizing):  Code: $('#example').bind('tabsshow', function(event, ui) { if (ui.panel.id == "map-tab") { resizeMap(); } }); So far I have tried a few things that have not worked but maybe
  • problem with displaying grid data from mysql database

    i am trying to use jquery-ui for the first time. i have done the server code but it is not displaying please can the code be review or look into my php server code <?php     include("../db/dbconnect.inc");     $page = isset($_POST['page']) ? intval($_POST['page']) : 1;     $rows = isset($_POST['rows']) ? intval($_POST['rows']) : 10;     $offset = ($page-1)*$rows;         $result = array();     $rs = $mysqli->query("select count(*) from store_categories");     $row = $rs->fetch_row();     $result["total"]
  • JQuery Mobile For Blogger HTML Widget: It Is Possible?

    I have a blogger blog, and I think using JQuery Mobile is much easier for autocomplete, popup, and other tasks. When in Blogger there is a HTML widget, how to use JQuery Mobile as scoped script (script from code.jquery.com )?
  • jQuery Mobile persistant external fixed header problem

    i want to ad an external persistant header like in the demo here: http://demos.jquerymobile.com/1.4.2/toolbar-fixed-persistent/ i only want the header. no footer. but when i do this on my page with this script: $(function() {     $( "[data-role='header']").toolbar(); }); i always get some space at the buttom of the page. its free space - i think for the footer.  the page height itself is ok, but the ui-panel-wraper is to short. can enyone help please?
  • Validate and JSON

    I looked at the reference for the "remote" option with validate. The docs aren't too clear as to how the JSON response must look. Does anyone have any examples?  When I look at the demo, it seems to only return an image. Perhaps I'm checking it the wrong way. I'm using the network option in the inspector of Chrome.
  • Displaying Arrays from set index.

    Hi, if I have the following code: <br /> <script>    nme = [1,3,4,1,8, 7];    alert(nme); </script>The alert box displays - 1,3,4,1,8,7. Is it possible to have the alert box display without the first array being shown so it would just show 3,4,1,8,7? Thanks in advance.
  • Animate Scroll Path In Canvas

    Hi All, first see this http://joelb.me/scrollpath now I made this canvas for my own <canvas id="myCanvas" width="5000" height="5000"></canvas>     <script>         var canvas = document.getElementById('myCanvas');         var context = canvas.getContext('2d');                 context.beginPath();         context.moveTo(100, 100);         // line 1         context.lineTo(500, 100);         // quadratic curve         context.bezierCurveTo(1000, 100, 500, 800, 1000, 800);                 //Line 2        
  • jQuery Photo Wall Plugin won't reinit after ajax load

    I’m using this jQuery Photowall Plugin I was able to modify the code so I could switch out the contents of the gallery with a select drop down menu. You can see the page here. This works fine but following a load the photowall plugin no longer works. I’ve copied the init code into a function that I call at the start and this works and then I call again at the end of my onchange but it won’t work. Any ideas as to why this isn’t working? as always any tips massively appreciated. Thanks, should also
  • Jquery Modal Popup not displayed as popup second time

    Hi, Hello to everyone, This is my first post and i would like help in sorting out my issue.  I tried searching for my issue in google but did not found the solution. My issue is that i am creating an application in MVC for which i am using JQuery to display popup and after closing the popup i am refreshing the webgrid using ajax which iw working fine( since i didn't wanted to fully load the page so i used ajax and used @Html.Partial() to load view) but when i click the create new department for second
  • 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